C# Class Net.Pkcs11Interop.Common.Pkcs11Exception

Inheritance: System.Exception
Show file 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

Pkcs11Exception ( string method, CKR rv ) : System

Initializes new instance of Pkcs11Exception class

Protected Methods

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

Initializes new instance of Pkcs11Exception 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

Pkcs11Exception() protected method

Initializes new instance of Pkcs11Exception class with serialized data
protected Pkcs11Exception ( 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

Pkcs11Exception() public method

Initializes new instance of Pkcs11Exception class
public Pkcs11Exception ( string method, CKR rv ) : System
method string Name of method that caused exception
rv CKR Return value of method that caused exception
return System