Initializes a new instance of the ObjectiveCCodeGenerationException class.
| C# | Visual Basic | Visual C++ |
protected ObjectiveCCodeGenerationException( SerializationInfo info, StreamingContext context )
Protected Sub New ( _ info As SerializationInfo, _ context As StreamingContext _ )
protected: ObjectiveCCodeGenerationException( SerializationInfo^ info, StreamingContext context )
- info (SerializationInfo)
- The SerializationInfo that holds the serialized object data about the exception being thrown.
- context (StreamingContext)
- The StreamingContext that contains contextual information about the source or destination.
| Exception | Condition |
|---|---|
| SerializationException | The class name is null or HResult is zero (0). |
| ArgumentNullException | The info parameter is null. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)