SecurityElementBase.CreateBindingElement Method

Definition

Creates a custom binding element object.

Overloads

CreateBindingElement()

Creates a custom binding element object from the setting of this instance.

CreateBindingElement(Boolean)

Creates a custom binding element object from the setting of this instance.

CreateBindingElement()

Creates a custom binding element object from the setting of this instance.

protected public:
 override System::ServiceModel::Channels::BindingElement ^ CreateBindingElement();
protected internal override System.ServiceModel.Channels.BindingElement CreateBindingElement ();
override this.CreateBindingElement : unit -> System.ServiceModel.Channels.BindingElement
Protected Friend Overrides Function CreateBindingElement () As BindingElement

Returns

A custom BindingElement object.

Applies to

CreateBindingElement(Boolean)

Creates a custom binding element object from the setting of this instance.

protected public:
 virtual System::ServiceModel::Channels::BindingElement ^ CreateBindingElement(bool createTemplateOnly);
protected internal virtual System.ServiceModel.Channels.BindingElement CreateBindingElement (bool createTemplateOnly);
override this.CreateBindingElement : bool -> System.ServiceModel.Channels.BindingElement
Protected Friend Overridable Function CreateBindingElement (createTemplateOnly As Boolean) As BindingElement

Parameters

createTemplateOnly
Boolean

true to create only a template; otherwise, false.

Returns

A custom BindingElement object.

Applies to