PeerNode Class
Defines the instance of of a peer node used by an application participating in a specific peer mesh.
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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
