Share via


RMServerException Constructors

Definition

Overloads

RMServerException()

Initializes a new instance of the RMServerException class.

RMServerException(String)

Initializes a new instance of the RMServerException class.

RMServerException(String, EventLogId)

Initializes a new instance of the RMServerException class.

RMServerException(String, Exception)

Initializes a new instance of the RMServerException class.

RMServerException(String, Exception, EventLogId)

Initializes a new instance of the RMServerException class.

RMServerException()

Initializes a new instance of the RMServerException class.

public RMServerException ();
Public Sub New ()

Applies to

RMServerException(String)

Initializes a new instance of the RMServerException class.

public RMServerException (string message);
new Microsoft.Media.Drm.RMServerException : string -> Microsoft.Media.Drm.RMServerException
Public Sub New (message As String)

Parameters

message
String

Text message associated with this exception. Note that the message is not sent back to the client.

Applies to

RMServerException(String, EventLogId)

Initializes a new instance of the RMServerException class.

public RMServerException (string message, Microsoft.Media.Drm.EventLogId eventId);
new Microsoft.Media.Drm.RMServerException : string * Microsoft.Media.Drm.EventLogId -> Microsoft.Media.Drm.RMServerException
Public Sub New (message As String, eventId As EventLogId)

Parameters

message
String

Text message associated with this exception. Note that the message is not sent back to the client.

eventId
EventLogId

The EventLogId for this exception.

Applies to

RMServerException(String, Exception)

Initializes a new instance of the RMServerException class.

public RMServerException (string message, Exception inner);
new Microsoft.Media.Drm.RMServerException : string * Exception -> Microsoft.Media.Drm.RMServerException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

Text message associated with this exception. Note that the message is not sent back to the client.

inner
Exception

The exception that is the cause of the current exception. If this parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

Applies to

RMServerException(String, Exception, EventLogId)

Initializes a new instance of the RMServerException class.

public RMServerException (string message, Exception inner, Microsoft.Media.Drm.EventLogId eventId);
new Microsoft.Media.Drm.RMServerException : string * Exception * Microsoft.Media.Drm.EventLogId -> Microsoft.Media.Drm.RMServerException
Public Sub New (message As String, inner As Exception, eventId As EventLogId)

Parameters

message
String

Text message associated with this exception. Note that the message is not sent back to the client.

inner
Exception

The exception that is the cause of the current exception. If this parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

eventId
EventLogId

The EventLogId for this exception.

Applies to