Språk

StandardEndpointCollectionElement<TStandardEndpoint,TEndpointConfiguration> Klass

Definition

Hanterar en standardsamling med standardslutpunktselement i en konfigurationsfil.

generic <typename TStandardEndpoint, typename TEndpointConfiguration>
 where TStandardEndpoint : ServiceEndpoint where TEndpointConfiguration : StandardEndpointElementgcnew()public ref class StandardEndpointCollectionElement : System::ServiceModel::Configuration::EndpointCollectionElement
public class StandardEndpointCollectionElement<TStandardEndpoint,TEndpointConfiguration> : System.ServiceModel.Configuration.EndpointCollectionElement where TStandardEndpoint : ServiceEndpoint where TEndpointConfiguration : StandardEndpointElement, new()
type StandardEndpointCollectionElement<'StandardEndpoint, 'EndpointConfiguration (requires 'StandardEndpoint :> ServiceEndpoint and 'EndpointConfiguration :> StandardEndpointElement and 'EndpointConfiguration : (new : unit -> 'EndpointConfiguration))> = class
    inherit EndpointCollectionElement
Public Class StandardEndpointCollectionElement(Of TStandardEndpoint, TEndpointConfiguration)
Inherits EndpointCollectionElement

Typparametrar

TStandardEndpoint

Typ av standardslutpunkt.

TEndpointConfiguration

Typ av slutpunktskonfiguration.

Arv
StandardEndpointCollectionElement<TStandardEndpoint,TEndpointConfiguration>
Härledda

Konstruktorer

Name Description
StandardEndpointCollectionElement<TStandardEndpoint,TEndpointConfiguration>()

Skapar en ny instans av StandardEndpointCollectionElement<TStandardEndpoint,TEndpointConfiguration> klassen.

Egenskaper

Name Description
ConfiguredEndpoints

Hämtar en skrivskyddad version av den aktuella samlingen med standardslutpunktselement.

CurrentConfiguration

Hämtar en referens till den översta instansen Configuration som representerar konfigurationshierarkin som den aktuella ConfigurationElement instansen tillhör.

(Ärvd från ConfigurationElement)
ElementInformation

Hämtar ett ElementInformation objekt som innehåller den icke-anpassningsbara informationen och funktionerna i ConfigurationElement objektet.

(Ärvd från ConfigurationElement)
ElementProperty

Hämtar objektet ConfigurationElementProperty som representerar ConfigurationElement själva objektet.

(Ärvd från ConfigurationElement)
EndpointName

När det implementeras i en härledd klass hämtar värdet för namnattributet för ett tjänstslutpunktselement.

(Ärvd från EndpointCollectionElement)
Endpoints

Hämtar en standardsamling med standardslutpunktselement.

EndpointType

Hämtar typen av standardslutpunkt i samlingen.

EvaluationContext

Hämtar ContextInformation-objektet för ConfigurationElement-objektet.

(Ärvd från ConfigurationElement)
HasContext

Hämtar ett värde som anger om egenskapen CurrentConfiguration är null.

(Ärvd från ConfigurationElement)
Item[ConfigurationProperty]

Hämtar eller anger en egenskap eller ett attribut för det här konfigurationselementet.

(Ärvd från ConfigurationElement)
Item[String]

Hämtar eller anger en egenskap, ett attribut eller ett underordnat element i det här konfigurationselementet.

(Ärvd från ConfigurationElement)
LockAllAttributesExcept

Hämtar samlingen med låsta attribut.

(Ärvd från ConfigurationElement)
LockAllElementsExcept

Hämtar samlingen med låsta element.

(Ärvd från ConfigurationElement)
LockAttributes

Hämtar samlingen med låsta attribut.

(Ärvd från ConfigurationElement)
LockElements

Hämtar samlingen med låsta element.

(Ärvd från ConfigurationElement)
LockItem

Hämtar eller anger ett värde som anger om elementet är låst.

(Ärvd från ConfigurationElement)
Properties

Lagrar egenskaperna för egenskapen Endpoints.

Metoder

Name Description
ContainsKey(String)

Avgör om ett element med det angivna namnet finns i samlingen med standardslutpunktselement.

DeserializeElement(XmlReader, Boolean)

Läser XML från konfigurationsfilen.

(Ärvd från ConfigurationElement)
Equals(Object)

Jämför den aktuella ConfigurationElement instansen med det angivna objektet.

(Ärvd från ConfigurationElement)
GetDefaultStandardEndpointElement()

Skapar en lokal instans av StandardEndpointElement klassen.

GetHashCode()

Hämtar ett unikt värde som representerar den aktuella ConfigurationElement instansen.

(Ärvd från ConfigurationElement)
GetTransformedAssemblyString(String)

Returnerar den transformerade versionen av det angivna sammansättningsnamnet.

(Ärvd från ConfigurationElement)
GetTransformedTypeString(String)

Returnerar den transformerade versionen av det angivna typnamnet.

(Ärvd från ConfigurationElement)
GetType()

Hämtar den aktuella instansen Type .

(Ärvd från Object)
Init()

Anger objektets ConfigurationElement ursprungliga tillstånd.

(Ärvd från ConfigurationElement)
InitializeDefault()

Används för att initiera en standarduppsättning med värden för ConfigurationElement objektet.

(Ärvd från ConfigurationElement)
IsModified()

Anger om det här konfigurationselementet har ändrats sedan det senast sparades eller lästes in när det implementerades i en härledd klass.

(Ärvd från ConfigurationElement)
IsReadOnly()

Hämtar ett värde som anger om objektet ConfigurationElement är skrivskyddat.

(Ärvd från ConfigurationElement)
ListErrors(IList)

Lägger till felen invalid-property i det här ConfigurationElement objektet, och i alla underelement, i den överförda listan.

(Ärvd från ConfigurationElement)
MemberwiseClone()

Skapar en ytlig kopia av den aktuella Object.

(Ärvd från Object)
OnDeserializeUnrecognizedAttribute(String, String)

Hämtar ett värde som anger om ett okänt attribut påträffas under deserialiseringen.

(Ärvd från ConfigurationElement)
OnDeserializeUnrecognizedElement(String, XmlReader)

Hämtar ett värde som anger om ett okänt element påträffas under deserialiseringen.

(Ärvd från ConfigurationElement)
OnRequiredPropertyNotFound(String)

Utlöser ett undantag när en obligatorisk egenskap inte hittas.

(Ärvd från ConfigurationElement)
PostDeserialize()

Anropas efter deserialisering.

(Ärvd från ConfigurationElement)
PreSerialize(XmlWriter)

Anropas före serialisering.

(Ärvd från ConfigurationElement)
Reset(ConfigurationElement)

Återställer objektets interna tillstånd ConfigurationElement , inklusive låsen och egenskapssamlingarna.

(Ärvd från ConfigurationElement)
ResetModified()

Återställer värdet för metoden till IsModified() när den false implementeras i en härledd klass.

(Ärvd från ConfigurationElement)
SerializeElement(XmlWriter, Boolean)

Skriver innehållet i det här konfigurationselementet till konfigurationsfilen när det implementeras i en härledd klass.

(Ärvd från ConfigurationElement)
SerializeToXmlElement(XmlWriter, String)

Skriver de yttre taggarna för det här konfigurationselementet till konfigurationsfilen när det implementeras i en härledd klass.

(Ärvd från ConfigurationElement)
SetPropertyValue(ConfigurationProperty, Object, Boolean)

Anger en egenskap till det angivna värdet.

(Ärvd från ConfigurationElement)
SetReadOnly()

Anger egenskapen IsReadOnly() för ConfigurationElement objektet och alla underelement.

(Ärvd från ConfigurationElement)
ToString()

Returnerar en sträng som representerar det aktuella objektet.

(Ärvd från Object)
TryAdd(String, ServiceEndpoint, Configuration)

Försöker lägga till ett slutpunktselement i samlingen med standardslutpunktselement.

Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)

Ändrar objektet ConfigurationElement för att ta bort alla värden som inte ska sparas.

(Ärvd från ConfigurationElement)

Gäller för