Pkcs11Interop
5.1.2
|
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. Errors are explained at https://docs.microsoft.com/en-us/windows/desktop/Debug/system-error-codes More... | |
Exception indicating that unmanaged function has returned error
Net.Pkcs11Interop.Common.UnmanagedException.UnmanagedException | ( | string | message | ) |
Initializes new instance of UnmanagedException class
message | Message that describes the error |
Net.Pkcs11Interop.Common.UnmanagedException.UnmanagedException | ( | string | message, |
int | errorCode | ||
) |
Initializes new instance of UnmanagedException class
message | Message that describes the error |
errorCode | Error code returned by the last unmanaged function |
|
protected |
Initializes new instance of UnmanagedException class with serialized data
info | SerializationInfo that holds the serialized object data about the exception being thrown |
context | StreamingContext that contains contextual information about the source or destination |
override void Net.Pkcs11Interop.Common.UnmanagedException.GetObjectData | ( | SerializationInfo | info, |
StreamingContext | context | ||
) |
Populates a SerializationInfo with the data needed to serialize the target object
info | SerializationInfo to populate with data |
context | The destination for this serialization |
|
get |
Error code returned by the last unmanaged function. Errors are explained at https://docs.microsoft.com/en-us/windows/desktop/Debug/system-error-codes