Share via


UnknownAccountException Constructors

Definition

Overloads

UnknownAccountException()

Initializes a new instance of the UnknownAccountException class.

UnknownAccountException(Guid)

Initializes a new instance of the UnknownAccountException class.

UnknownAccountException(String)

Initializes a new instance of the UnknownAccountException class.

UnknownAccountException(Guid, String)

Initializes a new instance of the UnknownAccountException class.

UnknownAccountException(String, Exception)

Initializes a new instance of the UnknownAccountException class.

UnknownAccountException()

Initializes a new instance of the UnknownAccountException class.

public UnknownAccountException ();
Public Sub New ()

Applies to

UnknownAccountException(Guid)

Initializes a new instance of the UnknownAccountException class.

public UnknownAccountException (Guid accountId);
new Microsoft.Media.Drm.UnknownAccountException : Guid -> Microsoft.Media.Drm.UnknownAccountException
Public Sub New (accountId As Guid)

Parameters

accountId
Guid

The AccountId that is unknown.

Applies to

UnknownAccountException(String)

Initializes a new instance of the UnknownAccountException class.

public UnknownAccountException (string message);
new Microsoft.Media.Drm.UnknownAccountException : string -> Microsoft.Media.Drm.UnknownAccountException
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

UnknownAccountException(Guid, String)

Initializes a new instance of the UnknownAccountException class.

public UnknownAccountException (Guid accountId, string customData);
new Microsoft.Media.Drm.UnknownAccountException : Guid * string -> Microsoft.Media.Drm.UnknownAccountException
Public Sub New (accountId As Guid, customData As String)

Parameters

accountId
Guid

The AccountId that is unknown.

customData
String

Service specific data that should be returned to the client along with the exception.

Applies to

UnknownAccountException(String, Exception)

Initializes a new instance of the UnknownAccountException class.

public UnknownAccountException (string message, Exception inner);
new Microsoft.Media.Drm.UnknownAccountException : string * Exception -> Microsoft.Media.Drm.UnknownAccountException
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