PeerNode Class
Defines the instance of of a peer node used by an application participating in a specific peer mesh.
Namespace: System.ServiceModel
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The PeerNode type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | IsOnline | Gets a value indicating whether the peer node is online and able to send messages to neighboring nodes in the peer mesh. |
![]() | MessagePropagationFilter | Gets and sets a custom filter for messages received over the peer channel. |
![]() | Port | Gets the network port on which the peer node is listening. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | RefreshConnection | Refreshes the connection with the peer mesh. |
![]() | ToString | Provides a string representation of a peer node. (Overrides Object.ToString().) |
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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
