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
)

Parameters

messageSequence
Type: System.ServiceModel.Discovery.DiscoveryMessageSequence
The position of this message in the sequence for the current notification.
endpointDiscoveryMetadata
Type: System.ServiceModel.Discovery.EndpointDiscoveryMetadata
An object that provides endpoint metadata, for example scopes, listen URI, contract names, and endpoint address.
callback
Type: System.AsyncCallback
The method to call when the asynchronous operation is complete.
state
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

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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

Community Additions

ADD
Show:
© 2015 Microsoft