PeerMessagePropagationFilter 類別

定義

定義對等通道訊息篩選條件的基底類別 (Base Class)。Defines the base class for peer channel message filters.

public ref class PeerMessagePropagationFilter abstract
public abstract class PeerMessagePropagationFilter
type PeerMessagePropagationFilter = class
Public MustInherit Class PeerMessagePropagationFilter
繼承
PeerMessagePropagationFilter

備註

若訊息在對等通道傳輸,則此類訊息篩選條件的實作必須衍生自這個類別。Implementations of filters for messages transmitted over a peer channel must be derived from this class.

建構函式

PeerMessagePropagationFilter()

初始化 PeerMessagePropagationFilter 類別的新執行個體。Initializes a new instance of the PeerMessagePropagationFilter class.

方法

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)
ShouldMessagePropagate(Message, PeerMessageOrigination)

傳回是否應該傳播在對等通道上接收到的訊息,如果是,則為訊息目的端。Returns whether or not a message received on a peer channel should be propagated, and if so, the destination of the message.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於