C# Class Net.Pkcs11Interop.Common.UnmanagedException

Inheritance: System.Exception
ファイルを表示 Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Populates a SerializationInfo with the data needed to serialize the target object

UnmanagedException ( string message ) : System

Initializes new instance of UnmanagedException class

UnmanagedException ( string message, int errorCode ) : System

Initializes new instance of UnmanagedException class

Protected Methods

Method Description
UnmanagedException ( SerializationInfo info, StreamingContext context ) : System

Initializes new instance of UnmanagedException class with serialized data

Method Details

GetObjectData() public method

Populates a SerializationInfo with the data needed to serialize the target object
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo SerializationInfo to populate with data
context System.Runtime.Serialization.StreamingContext The destination for this serialization
return void

UnmanagedException() protected method

Initializes new instance of UnmanagedException class with serialized data
protected UnmanagedException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo SerializationInfo that holds the serialized object data about the exception being thrown
context System.Runtime.Serialization.StreamingContext StreamingContext that contains contextual information about the source or destination
return System

UnmanagedException() public method

Initializes new instance of UnmanagedException class
public UnmanagedException ( string message ) : System
message string Message that describes the error
return System

UnmanagedException() public method

Initializes new instance of UnmanagedException class
public UnmanagedException ( string message, int errorCode ) : System
message string Message that describes the error
errorCode int Error code returned by the last unmanaged function
return System