AnnouncementEventArgs 类

定义

用于传递公告事件参数。Used to pass announcement event arguments.

public ref class AnnouncementEventArgs : EventArgs
public class AnnouncementEventArgs : EventArgs
type AnnouncementEventArgs = class
    inherit EventArgs
Public Class AnnouncementEventArgs
Inherits EventArgs
继承
AnnouncementEventArgs

属性

EndpointDiscoveryMetadata

获取服务从此 AnnouncementEventArgs 实例发送(作为服务公告消息的一部分)的服务元数据。Gets the service metadata sent by the service as part of its announcement message from this AnnouncementEventArgs instance.

MessageSequence

从此 AnnouncementEventArgs 实例中获取发现消息序列。Gets the discovery message sequence from this AnnouncementEventArgs instance.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于