C# Class Net.Pkcs11Interop.Common.UnmanagedException

Inheritance: System.Exception
Afficher le fichier Open project: Pkcs11Interop/Pkcs11Interop

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
UnmanagedException ( SerializationInfo info, StreamingContext context ) : System

Initializes new instance of UnmanagedException class with serialized data

Method Details

GetObjectData() public méthode

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
Résultat void

UnmanagedException() protected méthode

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
Résultat System

UnmanagedException() public méthode

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

UnmanagedException() public méthode

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
Résultat System