MonobjcMonobjc Documented Class Library
HandleFailureInFunctionFileLineNumberDescription Method (functionName, fileName, line, format, values)
NamespacesMonobjc.FoundationNSAssertionHandlerHandleFailureInFunctionFileLineNumberDescription(NSString, NSString, NSInteger, NSString, array<Object>[]()[][])

Logs (using NSLog) an error message that includes the name of the function, the name of the file, and the line number.

Original signature is '- (void)handleFailureInFunction:(NSString *)functionName file:(NSString *)fileName lineNumber:(NSInteger)line description:(NSString *)format,...'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void HandleFailureInFunctionFileLineNumberDescription(
	NSString functionName,
	NSString fileName,
	NSInteger line,
	NSString format,
	params Object[] values
)
Public Overridable Sub HandleFailureInFunctionFileLineNumberDescription ( _
	functionName As NSString, _
	fileName As NSString, _
	line As NSInteger, _
	format As NSString, _
	ParamArray values As Object() _
)
public:
virtual void HandleFailureInFunctionFileLineNumberDescription(
	NSString^ functionName, 
	NSString^ fileName, 
	NSInteger line, 
	NSString^ format, 
	... array<Object^>^ values
)
Parameters
functionName (NSString)
The function that failed.
fileName (NSString)
The name of the source file.
line (NSInteger)
The line in which the failure occurred.
format (NSString)
MISSING
values (array<Object>[]()[][])
MISSING
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)