HttpsTransportBindingElement Class
Collapse the table of content
Expand the table of content

HttpsTransportBindingElement Class

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Represents the binding element used to specify an HTTPS transport for transmitting messages.

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

public class HttpsTransportBindingElement : HttpTransportBindingElement

The HttpsTransportBindingElement type exposes the following members.

Public methodHttpsTransportBindingElement()Initializes a new instance of the HttpsTransportBindingElement class.
Protected methodHttpsTransportBindingElement(HttpsTransportBindingElement)Initializes a new instance of the HttpsTransportBindingElement class.

Public propertyManualAddressingGets or sets a value that indicates whether manual addressing of the message is required. (Inherited from TransportBindingElement.)
Public propertyMaxBufferSizeGets or sets the maximum size of the buffer to use. For buffered messages this value is the same as MaxReceivedMessageSize. For streamed messages, this value is the maximum size of the SOAP headers, which must be read in buffered mode. (Inherited from HttpTransportBindingElement.)
Public propertyMaxReceivedMessageSizeGets and sets the maximum allowable message size that can be received. (Inherited from TransportBindingElement.)
Public propertySchemeReturns the URI scheme for the transport. (Overrides HttpTransportBindingElement.Scheme.)

Public methodBuildChannelFactory<TChannel>Creates a channel factory of a specified type that can be used to create a channel. (Overrides HttpTransportBindingElement.BuildChannelFactory<TChannel>(BindingContext).)
Public methodCanBuildChannelFactory<TChannel>Determines whether a channel factory of the specified type can be built. (Inherited from HttpTransportBindingElement.)
Public methodCloneCreates a copy of the current binding element. (Overrides HttpTransportBindingElement.Clone().)
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetProperty<T>Gets a specified object from the BindingContext. This method gets the specified object from the base class, or from one of that class's ancestors. (Overrides HttpTransportBindingElement.GetProperty<T>(BindingContext).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

The HttpsTransportBindingElement class is the starting point for creating a custom binding that implements the HTTPS transport protocol. HTTPS is the primary transport used for secure interoperability purposes. HTTPS is supported by the Windows Phone to ensure interoperability with other Web services stacks.

You can also set properties on the base class, HttpTransportBindingElement such as MaxBufferSize.

You can also set properties on the base class TransportBindingElement, such as: ManualAddressing. For a complete list of properties, see TransportBindingElement.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

© 2016 Microsoft