HttpsTransportBindingElement Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Represents the binding element used to specify an HTTPS transport for transmitting messages.
Inheritance Hierarchy
System.Object
System.ServiceModel.Channels.BindingElement
System.ServiceModel.Channels.TransportBindingElement
System.ServiceModel.Channels.HttpTransportBindingElement
System.ServiceModel.Channels.HttpsTransportBindingElement
Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
'Declaration
Public Class HttpsTransportBindingElement _
Inherits HttpTransportBindingElement
public class HttpsTransportBindingElement : HttpTransportBindingElement
The HttpsTransportBindingElement type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HttpsTransportBindingElement() | Initializes a new instance of the HttpsTransportBindingElement class. | |
HttpsTransportBindingElement(HttpsTransportBindingElement) | Initializes a new instance of the HttpsTransportBindingElement class. |
Top
Properties
Name | Description | |
---|---|---|
ManualAddressing | Gets or sets a value that indicates whether manual addressing of the message is required. (Inherited from TransportBindingElement.) | |
MaxBufferSize | Gets 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.) | |
MaxReceivedMessageSize | Gets and sets the maximum allowable message size that can be received. (Inherited from TransportBindingElement.) | |
Scheme | Returns the URI scheme for the transport. (Overrides HttpTransportBindingElement.Scheme.) | |
TransferMode | Gets or sets a value that indicates whether messages are sent buffered or streamed. (Inherited from HttpTransportBindingElement.) |
Top
Methods
Name | Description | |
---|---|---|
BuildChannelFactory<TChannel> | Creates a channel factory of a specified type that can be used to create a channel. (Overrides HttpTransportBindingElement.BuildChannelFactory<TChannel>(BindingContext).) | |
CanBuildChannelFactory<TChannel> | Determines whether a channel factory of the specified type can be built. (Inherited from HttpTransportBindingElement.) | |
Clone | Creates a copy of the current binding element. (Overrides HttpTransportBindingElement.Clone().) | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetProperty<T> | Gets a property from the specified BindingContext. (Inherited from HttpTransportBindingElement.) In Silverlight for Windows Phone, this member is overridden by GetProperty<T>(BindingContext). In XNA Framework, this member is overridden by GetProperty<T>(BindingContext). |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
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 Silverlight 5 to ensure interoperability with other Web services stacks.
You control the configuration of the factories that this class creates by setting its properties, such as: RequireClientCertificate.
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, and MaxBufferPoolSize. For a complete list of properties, see TransportBindingElement.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.