Class NativeCallException
Thrown when a native function returns an erroneous result value.
Inherited Members
Namespace: Colore.Native
Assembly: Colore.dll
Syntax
public sealed class NativeCallException : ApiException
Constructors
NativeCallException(String, Result)
Initializes a new instance of the NativeCallException class.
Declaration
public NativeCallException(string function, Result result)
Parameters
Type | Name | Description |
---|---|---|
String | function | The name of the function that was called. |
Result | result | The result returned from the called function. |
Properties
Function
Gets the name of the native function that was called.
Declaration
public string Function { get; }
Property Value
Type | Description |
---|---|
String |
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
Overrides
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |