AnnouncementService.OnBeginOfflineAnnouncement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Starts the processing of incoming offline announcement (Bye) messages.
protected:
virtual IAsyncResult ^ OnBeginOfflineAnnouncement(System::ServiceModel::Discovery::DiscoveryMessageSequence ^ messageSequence, System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^ endpointDiscoveryMetadata, AsyncCallback ^ callback, System::Object ^ state);
protected virtual IAsyncResult OnBeginOfflineAnnouncement (System.ServiceModel.Discovery.DiscoveryMessageSequence messageSequence, System.ServiceModel.Discovery.EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state);
abstract member OnBeginOfflineAnnouncement : System.ServiceModel.Discovery.DiscoveryMessageSequence * System.ServiceModel.Discovery.EndpointDiscoveryMetadata * AsyncCallback * obj -> IAsyncResult
override this.OnBeginOfflineAnnouncement : System.ServiceModel.Discovery.DiscoveryMessageSequence * System.ServiceModel.Discovery.EndpointDiscoveryMetadata * AsyncCallback * obj -> IAsyncResult
Protected Overridable Function OnBeginOfflineAnnouncement (messageSequence As DiscoveryMessageSequence, endpointDiscoveryMetadata As EndpointDiscoveryMetadata, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- messageSequence
- DiscoveryMessageSequence
The position of this message in the sequence for the current notification.
- endpointDiscoveryMetadata
- EndpointDiscoveryMetadata
An object that provides endpoint metadata, for example scopes, listen URI, contract names, and endpoint address.
- callback
- AsyncCallback
The method to call when the asynchronous operation is complete.
- state
- Object
Infrastructure-defined state data.
Returns
The status of the pending asynchronous request.
Remarks
Classes that inherit from AnnouncementService to implement a custom announcement listener service must override this method and begin to process incoming Bye messages.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기