System.ServiceModel
4.0.0.0
System.ServiceModel.Channels.Binding
System.ServiceModel.Channels.IBindingRuntimePreferences
The binding provides support for the creation of peer networking applications that use a TCP-level peer-to-peer mesh infrastructure.
Each instance can host multiple peer channels defined with this binding type. Channel factories produced using a configured instance of this type can be used to generate peer channels. A peer channel factory can produce peer channels that are input-only (implements ), output-only (implements ), and duplex (implements ).
This is one of the standard bindings provided by the Windows Communication Framework (WCF). It can be used in imperative code or specified in the corresponding XML configuration file for the application. The recommended procedure is to define the binding using configuration values and not to use a code-based approach, except in certain advanced scenarios where configuration values must be set as a service is initialized.
Provides a secure binding for peer-to-peer network applications.
Constructor
4.0.0.0
To be added.
Initializes a new default instance of the class.
Constructor
4.0.0.0
This constructor creates a new with the supplied name. If a configuration for that name already exists, the settings in the configuration file that contains that name are used. If the name does not already exist, the default configuration settings are used.
Initializes a new instance of the class with a specified configuration name.
The value of the configurationName attribute that identifies the binding element whose settings are used to initialize the binding.
Method
4.0.0.0
System.ServiceModel.Channels.BindingElementCollection
To be added.
Creates a collection with the binding elements for the binding.
The of type that makes up the binding.
Property
4.0.0.0
System.ServiceModel.EnvelopeVersion
To be added.
To be added.
Gets the SOAP version used with this binding.
Property
4.0.0.0
System.Boolean
To be added.
To be added.
Gets whether the PNRP service is installed and available on the computer.
Property
4.0.0.0
System.Net.IPAddress
To be added.
If this property is not set, or is set to null or , the associated listens on all global addresses (both IPv4 and IPv6) configured for the local machine.
If a valid unicast IP address is specified for this property, then the associated object listens on that address. IPv4 and IPv6 wildcard addresses are not considered valid.
If a non-null IP address string is specified for this property in conjunction with , then the IP address must be associated with a physical interface rather than a virtual one.
ListenIPAddress must be set for ad-hoc networks in order to register with the default peer resolver (PNRP). If this property is specified in conjunction with (the default peer resolver), then the IP address must belong to a physical network interface rather than a virtual one (such as a tunneling interface). This is because PNRP only publishes within clouds corresponding to physical interfaces. By setting this property to null, all global addresses are published in the global PNRP cloud.
Gets or sets the IP address used for listening by the local peer node.
Property
4.0.0.0
System.Int64
To be added.
The value of cannot be less than whose default value is 65536 bytes (64 KB).
Gets or sets the maximum size, in bytes, of the memory pool used for the peer TCP buffer.
Property
4.0.0.0
System.Int64
To be added.
To be added.
Gets or sets the maximum size, in bytes, of TCP messages handled by peer channels created by this binding.
Property
4.0.0.0
System.Int32
To be added.
If the port value is invalid, is raised. The default value for this property is 0, which indicates that the listener port is randomly selected from all unreserved ports.
Gets or sets the network port on which to bind.
Property
4.0.0.0
System.Xml.XmlDictionaryReaderQuotas
To be added.
To be added.
Gets or sets the that is associated with this binding.
Property
4.0.0.0
System.ServiceModel.PeerResolvers.PeerResolverSettings
To be added.
To be added.
Gets the used by this binding instance to resolve a peer mesh ID to the endpoint IP addresses of nodes within the peer mesh.
Property
4.0.0.0
System.String
To be added.
This value must be "net.p2p".
Gets the URI scheme used for the transport protocol associated with this binding.
Property
4.0.0.0
System.ServiceModel.PeerSecuritySettings
To be added.
To be added.
Gets and sets the security to set on peer channels created by this binding.
Property
4.0.0.0
System.Boolean
To be added.
To be added.
Gets whether incoming requests over peer channels created by this binding are handled synchronously or asynchronously.