Partager via


DomainRequiredException Constructors

Definition

Overloads

DomainRequiredException()

Initializes a new instance of the DomainRequiredException class.

DomainRequiredException(Guid)

Initializes a new instance of the DomainRequiredException class.

DomainRequiredException(String)

Initializes a new instance of the DomainRequiredException class.

DomainRequiredException(Guid, Guid)

Initializes a new instance of the DomainRequiredException class.

DomainRequiredException(Guid, Uri)

Initializes a new instance of the DomainRequiredException class.

DomainRequiredException(String, Exception)

Initializes a new instance of the DomainRequiredException class.

DomainRequiredException(Guid, Guid, Uri)

Initializes a new instance of the DomainRequiredException class.

DomainRequiredException(Guid, Guid, Uri, String)

Initializes a new instance of the DomainRequiredException class.

DomainRequiredException()

Initializes a new instance of the DomainRequiredException class.

public DomainRequiredException ();
Public Sub New ()

Applies to

DomainRequiredException(Guid)

Initializes a new instance of the DomainRequiredException class.

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

Parameters

serviceId
Guid

ServiceId of the domain that is required.

Applies to

DomainRequiredException(String)

Initializes a new instance of the DomainRequiredException class.

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

DomainRequiredException(Guid, Guid)

Initializes a new instance of the DomainRequiredException class.

public DomainRequiredException (Guid serviceId, Guid accountId);
new Microsoft.Media.Drm.DomainRequiredException : Guid * Guid -> Microsoft.Media.Drm.DomainRequiredException
Public Sub New (serviceId As Guid, accountId As Guid)

Parameters

serviceId
Guid

ServiceId of the domain that is required.

accountId
Guid

AccountId of the domain that is required.

Applies to

DomainRequiredException(Guid, Uri)

Initializes a new instance of the DomainRequiredException class.

public DomainRequiredException (Guid serviceId, Uri url);
new Microsoft.Media.Drm.DomainRequiredException : Guid * Uri -> Microsoft.Media.Drm.DomainRequiredException
Public Sub New (serviceId As Guid, url As Uri)

Parameters

serviceId
Guid

ServiceId of the domain is required.

url
Uri

The url of the domain controller if different from the current server.

Applies to

DomainRequiredException(String, Exception)

Initializes a new instance of the DomainRequiredException class.

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

DomainRequiredException(Guid, Guid, Uri)

Initializes a new instance of the DomainRequiredException class.

public DomainRequiredException (Guid serviceId, Guid accountId, Uri url);
new Microsoft.Media.Drm.DomainRequiredException : Guid * Guid * Uri -> Microsoft.Media.Drm.DomainRequiredException
Public Sub New (serviceId As Guid, accountId As Guid, url As Uri)

Parameters

serviceId
Guid

ServiceId of the domain that is required.

accountId
Guid

AccountId of the domain that is required.

url
Uri

The Uri of the domain controller if different from the current server.

Applies to

DomainRequiredException(Guid, Guid, Uri, String)

Initializes a new instance of the DomainRequiredException class.

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

Parameters

serviceId
Guid

ServiceId of the domain that is required.

accountId
Guid

AccountId of the domain that is required.

url
Uri

The Uri of the domain controller if different from the current server.

customData
String

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

Applies to