AnnouncementService Class
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.
A self-hosted implementation of the announcement service.
public ref class AnnouncementService
[System.ServiceModel.ServiceBehavior(ConcurrencyMode=System.ServiceModel.ConcurrencyMode.Multiple, InstanceContextMode=System.ServiceModel.InstanceContextMode.Single)]
public class AnnouncementService
[<System.ServiceModel.ServiceBehavior(ConcurrencyMode=System.ServiceModel.ConcurrencyMode.Multiple, InstanceContextMode=System.ServiceModel.InstanceContextMode.Single)>]
type AnnouncementService = class
Public Class AnnouncementService
- Inheritance
-
AnnouncementService
- Attributes
This class listens for incoming messages on a standard announcement endpoint (AnnouncementEndpoint) and provides event notification when Hello or Bye announcement messages arrive. You can provide a custom announcement service implementation by deriving from this class.
Announcement |
Initializes a new instance of the AnnouncementService class. |
Announcement |
Initializes a new instance of the AnnouncementService class with the specified length of the duplicate message history. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
On |
Starts the processing of incoming offline announcement (Bye) messages. |
On |
Starts the processing of incoming online announcement (Hello) messages. |
On |
Users that inherit from AnnouncementService to implement a custom announcement listener service must override this method and begin to process incoming offline announcement (Bye) messages here. |
On |
Users that inherit from AnnouncementService to implement a custom announcement listener service must override this method and begin to process incoming offline announcement (Bye) messages here. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Offline |
Occurs when an offline announcement (Bye) message is received. |
Online |
Occurs when an online announcement (Hello) is received. |
Proizvod | Verzije |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: