MonobjcMonobjc Documented Class Library
NSKeyedUnarchiver..::..UnarchiverCannotDecodeObjectOfClassNameOriginalClassesEventHandler Delegate
NamespacesMonobjc.FoundationNSKeyedUnarchiverNSKeyedUnarchiver..::..UnarchiverCannotDecodeObjectOfClassNameOriginalClassesEventHandler

Informs the delegate that the class with a given name is not available during decoding.

Original signature is '- (Class)unarchiver:(NSKeyedUnarchiver *)unarchiver cannotDecodeObjectOfClassName:(NSString *)name originalClasses:(NSArray *)classNames'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate Class UnarchiverCannotDecodeObjectOfClassNameOriginalClassesEventHandler(
	NSKeyedUnarchiver unarchiver,
	NSString name,
	NSArray classNames
)
Public Delegate Function UnarchiverCannotDecodeObjectOfClassNameOriginalClassesEventHandler ( _
	unarchiver As NSKeyedUnarchiver, _
	name As NSString, _
	classNames As NSArray _
) As Class
public delegate Class^ UnarchiverCannotDecodeObjectOfClassNameOriginalClassesEventHandler(
	NSKeyedUnarchiver^ unarchiver, 
	NSString^ name, 
	NSArray^ classNames
)
Parameters
unarchiver (NSKeyedUnarchiver)
An unarchiver for which the receiver is the delegate.
name (NSString)
The name of the class of an object unarchiver is trying to decode.
classNames (NSArray)
An array describing the class hierarchy of the encoded object, where the first element is the class name string of the encoded object, the second element is the class name of its immediate superclass, and so on.
Return Value
The class unarchiver should use in place of the class named name.
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)