DomainAcquirer.LeaveDomainAsync Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Method used to start an asynchronous leave domain operation.

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


Public Sub LeaveDomainAsync ( _
    serviceId As Guid, _
    accountId As Guid, _
    domainServerUrl As Uri _
public void LeaveDomainAsync(
    Guid serviceId,
    Guid accountId,
    Uri domainServerUrl


  • serviceId
    Type: System.Guid
    The service identifier for this domain. serviceId is optional. If it is not required, you can specify Guid.Empty.
  • accountId
    Type: System.Guid
    The account identifier for this domain.
  • domainServerUrl
    Type: System.Uri
    URL to the domain controller server which is used to manage domains.

Version Information


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.