共用方式為


TcpRelayTransportBindingElement Class

Definition

Represents the binding element for the TCP transport relay.

public class TcpRelayTransportBindingElement : Microsoft.ServiceBus.Channels.ConnectionOrientedTransportBindingElement, System.ServiceModel.Description.IPolicyExportExtension
type TcpRelayTransportBindingElement = class
    inherit ConnectionOrientedTransportBindingElement
    interface IPolicyExportExtension
Public Class TcpRelayTransportBindingElement
Inherits ConnectionOrientedTransportBindingElement
Implements IPolicyExportExtension
Inheritance
Implements

Constructors

TcpRelayTransportBindingElement()

Initializes a new instance of the TcpRelayTransportBindingElement class.

TcpRelayTransportBindingElement(RelayClientAuthenticationType)

Initializes a new instance of the TcpRelayTransportBindingElement class using the specified relay client authentication type.

TcpRelayTransportBindingElement(TcpRelayTransportBindingElement)

Initializes a new instance of the TcpRelayTransportBindingElement class using the specified relay binding element.

Properties

ChannelInitializationTimeout

Gets or sets the timespan that specifies how long the channel initialization has to complete before timing out.

(Inherited from ConnectionOrientedTransportBindingElement)
ConnectionBufferSize

Gets and sets the size of the buffer used to transmit a chunk of the serialized message on the wire from the client or service.

(Inherited from ConnectionOrientedTransportBindingElement)
ConnectionMode
Obsolete.

Gets or sets the connection mode.

ConnectionPoolSettings

Gets the connection pool settings for the current instance.

HostNameComparisonMode

Gets or sets a value that indicates whether the hostname is used to reach the service when matching on the URI.

(Inherited from ConnectionOrientedTransportBindingElement)
IsDynamic

Gets or sets whether the binding element is dynamic.

MaxBufferSize

Gets or sets the maximum size of the buffer to use.

(Inherited from ConnectionOrientedTransportBindingElement)
MaxOutputDelay

Gets or sets the maximum interval of time that a chunk of a message or a full message can remain buffered in memory before being sent out.

(Inherited from ConnectionOrientedTransportBindingElement)
MaxPendingAccepts

Gets or sets the maximum number of pending asynchronous accept operations that are available for processing incoming connections to the service.

(Inherited from ConnectionOrientedTransportBindingElement)
MaxPendingConnections

Gets or sets the maximum number of connections awaiting dispatch on the service.

(Inherited from ConnectionOrientedTransportBindingElement)
RelayClientAuthenticationType

Gets or sets the type of authentication used by the service client.

Scheme

Gets the URI scheme for the transport.

TransferMode

Gets or sets a value that specifies whether the messages are buffered or streamed with the connection-oriented transport.

(Inherited from ConnectionOrientedTransportBindingElement)

Methods

BuildChannelFactory<TChannel>(BindingContext)

Creates a channel factory that can be used to create a channel.

BuildChannelListener<TChannel>(BindingContext)

Creates a channel listener of the specified type.

CanBuildChannelFactory<TChannel>(BindingContext)

Determines whether a channel factory of the specified type can be built.

(Inherited from ConnectionOrientedTransportBindingElement)
CanBuildChannelListener<TChannel>(BindingContext)

Returns a value that indicates whether the binding element can build a listener for a specific type of channel.

(Inherited from ConnectionOrientedTransportBindingElement)
Clone()

Creates a copy of the current binding element.

GetProperty<T>(BindingContext)

Returns a specified object from the binding context.

Explicit Interface Implementations

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

Exports a custom policy assertion about this binding.

Applies to