Freigeben über


IDomainHandler.HandleLeaveDomainAsync(ILeaveDomainChallenge) Method

Definition

Service implemented method handling domain leave requests.

public System.Threading.Tasks.Task<Microsoft.Media.Drm.LeaveDomainResponse> HandleLeaveDomainAsync (Microsoft.Media.Drm.ILeaveDomainChallenge data);
abstract member HandleLeaveDomainAsync : Microsoft.Media.Drm.ILeaveDomainChallenge -> System.Threading.Tasks.Task<Microsoft.Media.Drm.LeaveDomainResponse>
Public Function HandleLeaveDomainAsync (data As ILeaveDomainChallenge) As Task(Of LeaveDomainResponse)

Parameters

data
ILeaveDomainChallenge

Parsed ILeaveDomainChallenge received from the client.

Returns

The LeaveDomainResponse to be returned to the client.

Remarks

If the client is known, the implementation should update business data about the client and the domain the client belongs to; otherwise, the implementation should throw UnknownAccountException.

Applies to