Export (0) Print
Expand All

AnnouncementService.OnBeginOnlineAnnouncement Method

Starts the processing of incoming online announcement (Hello) messages.

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

protected virtual IAsyncResult OnBeginOnlineAnnouncement(
	DiscoveryMessageSequence messageSequence,
	EndpointDiscoveryMetadata endpointDiscoveryMetadata,
	AsyncCallback callback,
	Object state


Type: System.ServiceModel.Discovery.DiscoveryMessageSequence

The position of this message in the sequence for the current notification.

Type: System.ServiceModel.Discovery.EndpointDiscoveryMetadata

An object that provides endpoint metadata, for example scopes, listen URI, contract names, and endpoint address.

Type: System.AsyncCallback

The method to call when the asynchronous operation is complete.

Type: System.Object

Infrastructure-defined state data.

Return Value

Type: System.IAsyncResult
The status of the pending asynchronous request.

Classes that inherit from AnnouncementService to implement a custom announcement listener service must override this method and begin to process incoming Hello messages.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft