EndpointBehaviorElement EndpointBehaviorElement EndpointBehaviorElement EndpointBehaviorElement Class

Definition

Represents a configuration element that contains a list of endpoint behaviors that is applied to all Windows Communication Foundation (WCF) endpoints on the machine.

public ref class EndpointBehaviorElement : System::ServiceModel::Configuration::NamedServiceModelExtensionCollectionElement<System::ServiceModel::Configuration::BehaviorExtensionElement ^>
public class EndpointBehaviorElement : System.ServiceModel.Configuration.NamedServiceModelExtensionCollectionElement<System.ServiceModel.Configuration.BehaviorExtensionElement>
type EndpointBehaviorElement = class
    inherit NamedServiceModelExtensionCollectionElement<BehaviorExtensionElement>
Public Class EndpointBehaviorElement
Inherits NamedServiceModelExtensionCollectionElement(Of BehaviorExtensionElement)
Inheritance

Constructors

EndpointBehaviorElement() EndpointBehaviorElement() EndpointBehaviorElement() EndpointBehaviorElement()

Initializes a new instance of the EndpointBehaviorElement class.

EndpointBehaviorElement(String) EndpointBehaviorElement(String) EndpointBehaviorElement(String) EndpointBehaviorElement(String)

Initializes a new instance of the EndpointBehaviorElement class with the specified name.

Methods

Add(BehaviorExtensionElement) Add(BehaviorExtensionElement) Add(BehaviorExtensionElement) Add(BehaviorExtensionElement)

Adds a new behavior element to this section.

Add(TServiceModelExtensionElement) Add(TServiceModelExtensionElement) Add(TServiceModelExtensionElement) Add(TServiceModelExtensionElement)

Adds the specified element to this configuration section.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
CanAdd(BehaviorExtensionElement) CanAdd(BehaviorExtensionElement) CanAdd(BehaviorExtensionElement) CanAdd(BehaviorExtensionElement)

Adds a new behavior element to this section and returns a value indicating if the operation is successful.

CanAdd(TServiceModelExtensionElement) CanAdd(TServiceModelExtensionElement) CanAdd(TServiceModelExtensionElement) CanAdd(TServiceModelExtensionElement)

Adds a new behavior element to this section and returns a value that indicates whether the operation is successful.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
Clear() Clear() Clear() Clear()

Deletes all elements in this collection. This method cannot be inherited.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
Contains(TServiceModelExtensionElement) Contains(TServiceModelExtensionElement) Contains(TServiceModelExtensionElement) Contains(TServiceModelExtensionElement)

Returns a value that indicates whether this collection contains a specific element. This method cannot be inherited.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
ContainsKey(String) ContainsKey(String) ContainsKey(String) ContainsKey(String)

Determines whether this collection contains an element of the specified name.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
ContainsKey(Type) ContainsKey(Type) ContainsKey(Type) ContainsKey(Type)

Determines whether this collection contains an element of the specified type.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
CopyTo(TServiceModelExtensionElement[], Int32) CopyTo(TServiceModelExtensionElement[], Int32) CopyTo(TServiceModelExtensionElement[], Int32) CopyTo(TServiceModelExtensionElement[], Int32)

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. This method cannot be inherited.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
DeserializeElement(XmlReader, Boolean) DeserializeElement(XmlReader, Boolean) DeserializeElement(XmlReader, Boolean) DeserializeElement(XmlReader, Boolean)

Reads XML from the configuration file.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the current ConfigurationElement instance to the specified object.

(Inherited from ConfigurationElement)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an IEnumerator that iterates through a collection. This method cannot be inherited.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Gets a unique value representing the current ConfigurationElement instance.

(Inherited from ConfigurationElement)
GetTransformedAssemblyString(String) GetTransformedAssemblyString(String) GetTransformedAssemblyString(String) GetTransformedAssemblyString(String)

Returns the transformed version of the specified assembly name.

(Inherited from ConfigurationElement)
GetTransformedTypeString(String) GetTransformedTypeString(String) GetTransformedTypeString(String) GetTransformedTypeString(String)

Returns the transformed version of the specified type name.

(Inherited from ConfigurationElement)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Init() Init() Init() Init()

Sets the ConfigurationElement object to its initial state.

(Inherited from ConfigurationElement)
InitializeDefault() InitializeDefault() InitializeDefault() InitializeDefault()

Used to initialize a default set of values for the ConfigurationElement object.

(Inherited from ConfigurationElement)
IsModified() IsModified() IsModified() IsModified()

Indicates whether this configuration element has been modified since it was last saved or loaded, when implemented in a derived class.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
IsReadOnly() IsReadOnly() IsReadOnly() IsReadOnly()

Gets a value indicating whether the ConfigurationElement object is read-only.

(Inherited from ConfigurationElement)
ListErrors(IList) ListErrors(IList) ListErrors(IList) ListErrors(IList)

Adds the invalid-property errors in this ConfigurationElement object, and in all subelements, to the passed list.

(Inherited from ConfigurationElement)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnDeserializeUnrecognizedAttribute(String, String) OnDeserializeUnrecognizedAttribute(String, String) OnDeserializeUnrecognizedAttribute(String, String) OnDeserializeUnrecognizedAttribute(String, String)

Gets a value indicating whether an unknown attribute is encountered during deserialization.

(Inherited from ConfigurationElement)
OnDeserializeUnrecognizedElement(String, XmlReader) OnDeserializeUnrecognizedElement(String, XmlReader) OnDeserializeUnrecognizedElement(String, XmlReader) OnDeserializeUnrecognizedElement(String, XmlReader)

Gets a value that indicates whether an unknown element is encountered during deserialization.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
OnRequiredPropertyNotFound(String) OnRequiredPropertyNotFound(String) OnRequiredPropertyNotFound(String) OnRequiredPropertyNotFound(String)

Throws an exception when a required property is not found.

(Inherited from ConfigurationElement)
PostDeserialize() PostDeserialize() PostDeserialize() PostDeserialize()

Called after deserialization.

(Inherited from ConfigurationElement)
PreSerialize(XmlWriter) PreSerialize(XmlWriter) PreSerialize(XmlWriter) PreSerialize(XmlWriter)

Called before serialization.

(Inherited from ConfigurationElement)
Remove(TServiceModelExtensionElement) Remove(TServiceModelExtensionElement) Remove(TServiceModelExtensionElement) Remove(TServiceModelExtensionElement)

Removes the specified element from the collection. This method cannot be inherited.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
Reset(ConfigurationElement) Reset(ConfigurationElement) Reset(ConfigurationElement) Reset(ConfigurationElement)

Resets this collection to its unmodified state when overridden in a derived class.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
ResetModified() ResetModified() ResetModified() ResetModified()

Resets the value of the IsModified() property to false when overridden in a derived class.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
SerializeElement(XmlWriter, Boolean) SerializeElement(XmlWriter, Boolean) SerializeElement(XmlWriter, Boolean) SerializeElement(XmlWriter, Boolean)

Writes the contents of this configuration element to the configuration file when implemented in a derived class.

(Inherited from ConfigurationElement)
SerializeToXmlElement(XmlWriter, String) SerializeToXmlElement(XmlWriter, String) SerializeToXmlElement(XmlWriter, String) SerializeToXmlElement(XmlWriter, String)

Writes the outer tags of this configuration element to the configuration file when implemented in a derived class.

(Inherited from ConfigurationElement)
SetIsModified() SetIsModified() SetIsModified() SetIsModified()

Sets the IsModified() property for this collection.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
SetPropertyValue(ConfigurationProperty, Object, Boolean) SetPropertyValue(ConfigurationProperty, Object, Boolean) SetPropertyValue(ConfigurationProperty, Object, Boolean) SetPropertyValue(ConfigurationProperty, Object, Boolean)

Sets a property to the specified value.

(Inherited from ConfigurationElement)
SetReadOnly() SetReadOnly() SetReadOnly() SetReadOnly()

Sets the internal IsReadOnly property for this collection and for all sub-elements.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)

Reverses the effect of merging configuration information from different levels of the configuration hierarchy.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)

Properties

Count Count Count Count

Gets the number of items in this collection.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
CurrentConfiguration CurrentConfiguration CurrentConfiguration CurrentConfiguration

Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to.

(Inherited from ConfigurationElement)
ElementInformation ElementInformation ElementInformation ElementInformation

Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object.

(Inherited from ConfigurationElement)
ElementProperty ElementProperty ElementProperty ElementProperty

Gets the ConfigurationElementProperty object that represents the ConfigurationElement object itself.

(Inherited from ConfigurationElement)
EvaluationContext EvaluationContext EvaluationContext EvaluationContext

Gets the ContextInformation object for the ConfigurationElement object.

(Inherited from ConfigurationElement)
HasContext HasContext HasContext HasContext

Gets a value that indicates whether the CurrentConfiguration property is null.

(Inherited from ConfigurationElement)
ICollection<TServiceModelExtensionElement>.IsReadOnly ICollection<TServiceModelExtensionElement>.IsReadOnly ICollection<TServiceModelExtensionElement>.IsReadOnly ICollection<TServiceModelExtensionElement>.IsReadOnly

Gets a value that indicates whether this ServiceModelExtensionCollectionElement<TServiceModelExtensionElement> is read-only.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
Item[ConfigurationProperty] Item[ConfigurationProperty] Item[ConfigurationProperty] Item[ConfigurationProperty]

Gets or sets a property or attribute of this configuration element.

(Inherited from ConfigurationElement)
Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets the item at the specified index within the collection.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
Item[String] Item[String] Item[String] Item[String]

Gets or sets a property, attribute, or child element of this configuration element.

(Inherited from ConfigurationElement)
Item[Type] Item[Type] Item[Type] Item[Type]

Gets the item of the specified type within the collection.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
LockAllAttributesExcept LockAllAttributesExcept LockAllAttributesExcept LockAllAttributesExcept

Gets the collection of locked attributes.

(Inherited from ConfigurationElement)
LockAllElementsExcept LockAllElementsExcept LockAllElementsExcept LockAllElementsExcept

Gets the collection of locked elements.

(Inherited from ConfigurationElement)
LockAttributes LockAttributes LockAttributes LockAttributes

Gets the collection of locked attributes

(Inherited from ConfigurationElement)
LockElements LockElements LockElements LockElements

Gets the collection of locked elements.

(Inherited from ConfigurationElement)
LockItem LockItem LockItem LockItem

Gets or sets a value indicating whether the element is locked.

(Inherited from ConfigurationElement)
Name Name Name Name

Gets or sets the name of this collection.

(Inherited from NamedServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)
Properties Properties Properties Properties

Gets a ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element.

(Inherited from NamedServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an IEnumerator that iterates through a collection. This method cannot be inherited.

(Inherited from ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>)

Extension Methods

CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>)

Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>)

Returns a collection of elements that contains the ancestors of every node in the source collection.

Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching XName are included in the collection.

DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>)

Returns a collection of the descendant nodes of every document and element in the source collection.

Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>)

Returns a collection of elements that contains the descendant elements of every element and document in the source collection.

Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>)

Returns a collection of the child elements of every element and document in the source collection.

Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName)

Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>)

Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.

Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>)

Returns a collection of the child nodes of every document and element in the source collection.

Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>)

Removes every node in the source collection from its parent node.

Applies to

See also