AnnouncementClient.AnnounceOfflineAsync Method (EndpointDiscoveryMetadata, Object)

.NET Framework (current version)
 

Causes an offline announcement message (Bye) to be sent asynchronously with the specified endpoint discovery metadata and user-defined state.

Namespace:   System.ServiceModel.Discovery
Assembly:  System.ServiceModel.Discovery (in System.ServiceModel.Discovery.dll)

public void AnnounceOfflineAsync(
	EndpointDiscoveryMetadata discoveryMetadata,
	object userState
)

Parameters

discoveryMetadata
Type: System.ServiceModel.Discovery.EndpointDiscoveryMetadata

The endpoint discovery metadata.

userState
Type: System.Object

The user-defined state data.

.NET Framework
Available since 4.0
Return to top
Show: