PeerNode Class
TOC
Collapse the table of content
Expand the table of content

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)

System.Object
  System.ServiceModel.PeerNode

public sealed class PeerNode : IOnlineStatus

NameDescription
System_CAPS_pubpropertyIsOnline

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

System_CAPS_pubpropertyMessagePropagationFilter

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

System_CAPS_pubpropertyPort

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodRefreshConnection()

Refreshes the connection with the peer mesh.

System_CAPS_pubmethodToString()

Provides a string representation of a peer node.(Overrides Object.ToString().)

NameDescription
System_CAPS_pubeventOffline

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

System_CAPS_pubeventOnline

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

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.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft