Share via


PosLibraryException Constructors

Definition

Overloads

PosLibraryException()
PosLibraryException(String)

Initializes a new instance of the PosLibraryException class with a specified error message.

PosLibraryException(SerializationInfo, StreamingContext)

Initializes a new instance of the PosLibraryException class with serialized data.

PosLibraryException(String, Exception)

Initializes a new instance of the PosLibraryException class with a specified error message and a reference to the inner exception that is the cause of this exception.

PosLibraryException()

public PosLibraryException ();
Public Sub New ()

Applies to

PosLibraryException(String)

Initializes a new instance of the PosLibraryException class with a specified error message.

public PosLibraryException (string message);
new Microsoft.PointOfService.PosLibraryException : string -> Microsoft.PointOfService.PosLibraryException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

PosLibraryException(SerializationInfo, StreamingContext)

Initializes a new instance of the PosLibraryException class with serialized data.

protected PosLibraryException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new Microsoft.PointOfService.PosLibraryException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.PointOfService.PosLibraryException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parameters

serializationInfo
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

streamingContext
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Applies to

PosLibraryException(String, Exception)

Initializes a new instance of the PosLibraryException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public PosLibraryException (string message, Exception e);
new Microsoft.PointOfService.PosLibraryException : string * Exception -> Microsoft.PointOfService.PosLibraryException
Public Sub New (message As String, e As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

e
Exception

The exception that is the cause of the current exception. If the e parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

Applies to