PeerNode PeerNode PeerNode PeerNode Class


Defines the instance of a peer node used by an application participating in a specific peer mesh.

public ref class PeerNode sealed : System::ServiceModel::IOnlineStatus
public sealed class PeerNode : System.ServiceModel.IOnlineStatus
type PeerNode = class
    interface IOnlineStatus
Public NotInheritable Class PeerNode
Implements IOnlineStatus


A peer node can host multiple peer channels within the mesh as long as they share a common URI and host name in the EndpointAddress supplied to the binding for each channel.

If two or more peer channels defined for a peer node are created with separate bindings, then the Port, ListenIPAddress, and Resolver properties must be identical on all bindings.

If a subsequent channel binding is created after the first one for the same peer node instance, then the MaxReceivedMessageSize property on this and subsequent bindings must be less than or equal to the value of MaxReceivedMessageSize property as set on the first channel binding.


IsOnline IsOnline IsOnline IsOnline

Gets a value indicating whether the peer node is online and able to send messages to neighboring nodes in the peer mesh.

MessagePropagationFilter MessagePropagationFilter MessagePropagationFilter MessagePropagationFilter

Gets or sets a custom filter for messages received over the peer channel.

Port Port Port Port

Gets the network port on which the peer node is listening.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RefreshConnection() RefreshConnection() RefreshConnection() RefreshConnection()

Refreshes the connection with the peer mesh.

ToString() ToString() ToString() ToString()

Provides a string representation of a peer node.


Offline Offline Offline Offline

Signals when the peer node goes offline from the peer mesh.

Online Online Online Online

Signals when a peer node comes online within the peer mesh.

Applies to