Export (0) Print
Expand All

WebHttpRelayBinding.Scheme Property

Gets the scheme for the endpoints used with the binding.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public override string Scheme { get; }

Property Value

Type: System.String
Returns the scheme.

For WebHttpRelayBinding, the scheme can be either http or https. The default is https.

You can use this property to validate the endpoint, to ensure that it has the proper scheme.

Community Additions

ADD
Show:
© 2014 Microsoft