OnLeaveDomain Method
Collapse the table of content
Expand the table of content

DomainAcquirer.OnLeaveDomain Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Overridden in a derived class to implement manual leave domain operations.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Protected Overridable Sub OnLeaveDomain ( _
	leaveChallenge As Stream, _
	domainServerUri As Uri _
)

Parameters

leaveChallenge
Type: System.IO.Stream
The domain challenge that needs to be sent to the PlayReady server.
domainServerUri
Type: System.Uri
URI to the domain controller server which is used to manage domains.

This method allows authentication information to be added to a Leave Domain operation. It can also be used for extended error handling by looking at the raw responses from the domain server.

Version Notes

Windows Phone

This member is not implemented in Windows Phone OS 7.1.

Notes to Inheritors

When overriding OnLeaveDomain in a derived class, the base class's OnLeaveDomain method should only be called when an automatic domain join is desired. If the application is performing a manual operation, then you must not call the base class's OnLeaveDomain method.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft