MonobjcMonobjc Documented Class Library
HandleFailureInMethodObjectFileLineNumberDescription Method (selector, object, fileName, line, format, values)
NamespacesMonobjc.FoundationNSAssertionHandlerHandleFailureInMethodObjectFileLineNumberDescription(IntPtr, Id, NSString, NSInteger, NSString, array<Object>[]()[][])

Logs (using NSLog) an error message that includes the name of the method that failed, the class name of the object, the name of the source file, and the line number.

Original signature is '- (void)handleFailureInMethod:(SEL)selector object:(id)object 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 HandleFailureInMethodObjectFileLineNumberDescription(
	IntPtr selector,
	Id object,
	NSString fileName,
	NSInteger line,
	NSString format,
	params Object[] values
)
Public Overridable Sub HandleFailureInMethodObjectFileLineNumberDescription ( _
	selector As IntPtr, _
	object As Id, _
	fileName As NSString, _
	line As NSInteger, _
	format As NSString, _
	ParamArray values As Object() _
)
public:
virtual void HandleFailureInMethodObjectFileLineNumberDescription(
	IntPtr selector, 
	Id^ object, 
	NSString^ fileName, 
	NSInteger line, 
	NSString^ format, 
	... array<Object^>^ values
)
Parameters
selector (IntPtr)
The selector for the method that failed
object (Id)
The object 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)