Class TransportClientEndpointBehaviorElement
- Namespace
- Microsoft.ServiceBus.Configuration
- Assembly
- Microsoft.ServiceBus.dll
Represents a configuration element that specifies the behavior of a service or client endpoint for a transport on the Azure Service Bus relay.
public class TransportClientEndpointBehaviorElement : BehaviorExtensionElement
- Inheritance
-
TransportClientEndpointBehaviorElement
Constructors
TransportClientEndpointBehaviorElement()
public TransportClientEndpointBehaviorElement()
Properties
BehaviorType
Gets or sets the behavior type for the transport client endpoint.
public override Type BehaviorType { get; }
Property Value
- Type
The behavior type for the transport client endpoint.
Properties
Gets the collection of properties contained in this configuration element.
protected override ConfigurationPropertyCollection Properties { get; }
Property Value
- ConfigurationPropertyCollection
The collection of properties contained in this configuration element.
TokenProvider
Gets or sets the token provider that is used as a binding parameter.
public TokenProviderElement TokenProvider { get; }
Property Value
- TokenProviderElement
The token provider used as a binding parameter.
Methods
CopyFrom(ServiceModelExtensionElement)
Copies the contents of the specified configuration element to this configuration element.
public override void CopyFrom(ServiceModelExtensionElement from)
Parameters
from
ServiceModelExtensionElementThe configuration element to copy the contents from.
CreateBehavior()
Returns a new TransportClientEndpointBehavior object with the same settings as this configuration element.
protected override object CreateBehavior()
Returns
- object
A new TransportClientEndpointBehavior object with the same settings as this configuration element.