PeerTransportBindingElement Class

 
Note: This API is now obsolete.

Defines the binding element used to create a peer message transport channel.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.ServiceModel.Channels.BindingElement
    System.ServiceModel.Channels.TransportBindingElement
      System.ServiceModel.Channels.PeerTransportBindingElement

<ObsoleteAttribute("PeerChannel feature is obsolete and will be removed in the future.",
	False)>
Public NotInheritable Class PeerTransportBindingElement
	Inherits TransportBindingElement
	Implements IWsdlExportExtension, IPolicyExportExtension

NameDescription
System_CAPS_pubmethodPeerTransportBindingElement()

Initializes a new default instance of the PeerTransportBindingElement class.

NameDescription
System_CAPS_pubpropertyListenIPAddress

Gets and sets the IP address on which peer message transports created by this binding element listen.

System_CAPS_pubpropertyManualAddressing

Gets or sets a value that indicates whether manual addressing of the message is required.(Inherited from TransportBindingElement.)

System_CAPS_pubpropertyMaxBufferPoolSize

Gets or sets the maximum size, in bytes, of any buffer pools used by the transport. (Inherited from TransportBindingElement.)

System_CAPS_pubpropertyMaxReceivedMessageSize

Gets and sets the value that specifies the maximum size, in bytes, of messages sent over transport channels created by this binding element.(Overrides TransportBindingElement.MaxReceivedMessageSize.)

System_CAPS_pubpropertyPort

Gets and sets the network port on which peer message transport channels created by this binding element listen.

System_CAPS_pubpropertyScheme

Gets the scheme used to indicate the protocol over which messages are transported by channels created by this binding element.(Overrides TransportBindingElement.Scheme.)

System_CAPS_pubpropertySecurity

Gets the specific security settings for transport channels created by this binding element.

NameDescription
System_CAPS_pubmethodBuildChannelFactory(Of TChannel)(BindingContext)

Creates a channel factory that can be used to create a channel for sending messages.(Overrides BindingElement.BuildChannelFactory(Of TChannel)(BindingContext).)

System_CAPS_pubmethodBuildChannelListener(Of TChannel)(BindingContext)

Creates a channel listener of the specified type for receiving messages.(Overrides BindingElement.BuildChannelListener(Of TChannel)(BindingContext).)

System_CAPS_pubmethodCanBuildChannelFactory(Of TChannel)(BindingContext)

Determines whether a channel factory of the specified type can be built.(Overrides BindingElement.CanBuildChannelFactory(Of TChannel)(BindingContext).)

System_CAPS_pubmethodCanBuildChannelListener(Of TChannel)(BindingContext)

Determines whether a channel listener of the specified type can be built.(Overrides BindingElement.CanBuildChannelListener(Of TChannel)(BindingContext).)

System_CAPS_pubmethodClone()

Creates a copy of the current binding element.(Overrides BindingElement.Clone().)

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_pubmethodGetProperty(Of T)(BindingContext)

Returns a property from the specified BindingContext object.(Overrides TransportBindingElement.GetProperty(Of T)(BindingContext).)

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

Writes custom peer transport channel elements into the generated metadata for an endpoint.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

Writes custom peer transport channel elements into the generated WSDL for a contract.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

Writes custom peer transport channel elements into the generated WSDL for an endpoint.

This transport cannot be used with contracts that have request/reply operations.

.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: