Share via


PosManagementException Constructors

Definition

Overloads

PosManagementException()
PosManagementException(String)

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

PosManagementException(SerializationInfo, StreamingContext)

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

PosManagementException(String, Exception)

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

PosManagementException()

public PosManagementException ();
Public Sub New ()

Applies to

PosManagementException(String)

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

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

PosManagementException(SerializationInfo, StreamingContext)

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

protected PosManagementException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new Microsoft.PointOfService.PosManagementException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.PointOfService.PosManagementException
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

PosManagementException(String, Exception)

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

public PosManagementException (string message, Exception e);
new Microsoft.PointOfService.PosManagementException : string * Exception -> Microsoft.PointOfService.PosManagementException
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