IDomainHandler.HandleLeaveDomainAsync(ILeaveDomainChallenge) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.