Pkcs11Interop  4.0.0
Public Member Functions | Protected Member Functions | Properties | List of all members
Net.Pkcs11Interop.Common.UnmanagedException Class Reference

Exception indicating that unmanaged function has returned error More...

Inherits Exception.

Public Member Functions

 UnmanagedException (string message)
 Initializes new instance of UnmanagedException class More...
 
 UnmanagedException (string message, int errorCode)
 Initializes new instance of UnmanagedException class More...
 
override void GetObjectData (SerializationInfo info, StreamingContext context)
 Populates a SerializationInfo with the data needed to serialize the target object More...
 

Protected Member Functions

 UnmanagedException (SerializationInfo info, StreamingContext context)
 Initializes new instance of UnmanagedException class with serialized data More...
 

Properties

int ErrorCode [get]
 Error code returned by the last unmanaged function More...
 

Detailed Description

Exception indicating that unmanaged function has returned error

Constructor & Destructor Documentation

Net.Pkcs11Interop.Common.UnmanagedException.UnmanagedException ( string  message)

Initializes new instance of UnmanagedException class

Parameters
messageMessage that describes the error
Net.Pkcs11Interop.Common.UnmanagedException.UnmanagedException ( string  message,
int  errorCode 
)

Initializes new instance of UnmanagedException class

Parameters
messageMessage that describes the error
errorCodeError code returned by the last unmanaged function
Net.Pkcs11Interop.Common.UnmanagedException.UnmanagedException ( SerializationInfo  info,
StreamingContext  context 
)
protected

Initializes new instance of UnmanagedException class with serialized data

Parameters
infoSerializationInfo that holds the serialized object data about the exception being thrown
contextStreamingContext that contains contextual information about the source or destination

Member Function Documentation

override void Net.Pkcs11Interop.Common.UnmanagedException.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)

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

Parameters
infoSerializationInfo to populate with data
contextThe destination for this serialization

Property Documentation

int Net.Pkcs11Interop.Common.UnmanagedException.ErrorCode
get

Error code returned by the last unmanaged function


The documentation for this class was generated from the following file: