Share via


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)

Syntax

Protected Overridable Sub OnLeaveDomain ( _
    leaveChallenge As Stream, _
    domainServerUri As Uri _
)
protected virtual void OnLeaveDomain(
    Stream leaveChallenge,
    Uri domainServerUri
)

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.

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

DomainAcquirer Class

System.Windows.Media Namespace

Other Resources

Digital Rights Management (DRM) for Windows Phone 8