Class HttpsRelayTransportBindingElement
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
Represents the binding element used to specify an HTTPS relay transport for transmitting messages.
public class HttpsRelayTransportBindingElement : HttpRelayTransportBindingElement, IPolicyExportExtension, IWsdlExportExtension, ITransportTokenAssertionProvider
- Inheritance
-
HttpsRelayTransportBindingElement
- Implements
-
IPolicyExportExtensionIWsdlExportExtensionITransportTokenAssertionProvider
- Inherited Members
Constructors
HttpsRelayTransportBindingElement()
Initializes a new instance of the HttpsRelayTransportBindingElement class, using the default settings.
public HttpsRelayTransportBindingElement()
HttpsRelayTransportBindingElement(HttpsRelayTransportBindingElement)
Initializes a new instance of the HttpsRelayTransportBindingElement class, using the specified element.
protected HttpsRelayTransportBindingElement(HttpsRelayTransportBindingElement elementToBeCloned)
Parameters
elementToBeCloned
HttpsRelayTransportBindingElementThe element to be cloned.
HttpsRelayTransportBindingElement(RelayClientAuthenticationType)
Initializes a new instance of the HttpsRelayTransportBindingElement class, using the specified type of client authentication.
public HttpsRelayTransportBindingElement(RelayClientAuthenticationType relayClientAuthenticationType)
Parameters
relayClientAuthenticationType
RelayClientAuthenticationTypeThe relay client authentication type.
Properties
Scheme
Gets the URI scheme for the transport.
public override string Scheme { get; }
Property Value
- string
The URI scheme for the transport, which is “HTTPS”.
Methods
Clone()
Creates a deep copy of the current binding element.
public override BindingElement Clone()
Returns
- BindingElement
A deep copy of the current binding element.
CreateInnerChannelBindingElement()
Creates a System.ServiceModel.Channels.HttpTransportBindingElement binding element for the inner channel.
protected override HttpTransportBindingElement CreateInnerChannelBindingElement()
Returns
- HttpTransportBindingElement
A binding element for the inner channel.
GetProperty<T>(BindingContext)
Gets the specified property from the specified binding context.
public override T GetProperty<T>(BindingContext context) where T : class
Parameters
context
BindingContextThe binding context.
Returns
- T
A binding element that contains the property.
Type Parameters
T
The type of the property to get.
InitializeInnerChannelBindingElement(HttpTransportBindingElement)
Initializes the specified binding element with the settings from the current instance of the HttpsRelayTransportBindingElement binding element.
protected override void InitializeInnerChannelBindingElement(HttpTransportBindingElement httpTransportElement)
Parameters
httpTransportElement
HttpTransportBindingElementThe binding element to initialize.