ServiceCredentialsElement Klasa

Definicja

Reprezentuje element konfiguracji, który określa poświadczenia używane do uwierzytelniania usługi, a także ustawienia związane z weryfikacją poświadczeń klienta. Klasa ta nie może być dziedziczona.

public ref class ServiceCredentialsElement : System::ServiceModel::Configuration::BehaviorExtensionElement
public class ServiceCredentialsElement : System.ServiceModel.Configuration.BehaviorExtensionElement
type ServiceCredentialsElement = class
    inherit BehaviorExtensionElement
Public Class ServiceCredentialsElement
Inherits BehaviorExtensionElement
Dziedziczenie
Dziedziczenie

Konstruktory

ServiceCredentialsElement()

Inicjuje nowe wystąpienie klasy ServiceCredentialsElement.

Właściwości

BehaviorType

Pobiera typ tego elementu konfiguracji zachowania.

ClientCertificate

Pobiera certyfikat klienta, który ma być używany, gdy certyfikat klienta jest dostępny poza pasmem.

ConfigurationElementName

Pobiera nazwę tego elementu konfiguracji.

(Odziedziczone po ServiceModelExtensionElement)
CurrentConfiguration

Pobiera odwołanie do wystąpienia najwyższego poziomu Configuration , które reprezentuje hierarchię konfiguracji, do którego należy bieżące ConfigurationElement wystąpienie.

(Odziedziczone po ConfigurationElement)
ElementInformation

ElementInformation Pobiera obiekt, który zawiera niezstosowalne informacje i funkcje ConfigurationElement obiektu.

(Odziedziczone po ConfigurationElement)
ElementProperty

ConfigurationElementProperty Pobiera obiekt reprezentujący ConfigurationElement sam obiekt.

(Odziedziczone po ConfigurationElement)
EvaluationContext

ContextInformation Pobiera obiekt dla ConfigurationElement obiektu.

(Odziedziczone po ConfigurationElement)
HasContext

Pobiera wartość wskazującą, czy CurrentConfiguration właściwość to null.

(Odziedziczone po ConfigurationElement)
IdentityConfiguration

Pobiera lub ustawia konfigurację tożsamości używaną w pliku ServiceCredentialsElement .

IssuedTokenAuthentication

Pobiera bieżący wystawiony token dla tej usługi.

Item[ConfigurationProperty]

Pobiera lub ustawia właściwość lub atrybut tego elementu konfiguracji.

(Odziedziczone po ConfigurationElement)
Item[String]

Pobiera lub ustawia właściwość, atrybut lub element podrzędny tego elementu konfiguracji.

(Odziedziczone po ConfigurationElement)
LockAllAttributesExcept

Pobiera kolekcję zablokowanych atrybutów.

(Odziedziczone po ConfigurationElement)
LockAllElementsExcept

Pobiera kolekcję zablokowanych elementów.

(Odziedziczone po ConfigurationElement)
LockAttributes

Pobiera kolekcję zablokowanych atrybutów.

(Odziedziczone po ConfigurationElement)
LockElements

Pobiera kolekcję zablokowanych elementów.

(Odziedziczone po ConfigurationElement)
LockItem

Pobiera lub ustawia wartość wskazującą, czy element jest zablokowany.

(Odziedziczone po ConfigurationElement)
Peer

Pobiera bieżące poświadczenia dla węzła równorzędnego.

Properties

Pobiera ConfigurationPropertyCollection wystąpienie, które zawiera kolekcję ConfigurationProperty obiektów, które mogą być atrybutami lub ConfigurationElement obiektami tego elementu konfiguracji.

SecureConversationAuthentication

Pobiera bieżące poświadczenia dla bezpiecznej konwersacji.

ServiceCertificate

Pobiera certyfikat X.509 zainicjowany przez klienta.

Type

Pobiera lub ustawia typ tej konfiguracji.

UseIdentityConfiguration

Pobiera lub ustawia wartość, która wskazuje, czy element poświadczeń usługi używa konfiguracji tożsamości.

UserNameAuthentication

Pobiera ustawienia weryfikacji nazwy użytkownika i hasła.

WindowsAuthentication

Pobiera ustawienia weryfikacji poświadczeń systemu Windows.

Metody

ApplyConfiguration(ServiceCredentials)

Stosuje zawartość określonego elementu konfiguracji do tego elementu konfiguracji.

CopyFrom(ServiceModelExtensionElement)

Kopiuje zawartość określonego elementu konfiguracji do tego elementu konfiguracji.

CreateBehavior()

Tworzy niestandardowe zachowanie na podstawie ustawień tego elementu konfiguracji.

DeserializeElement(XmlReader, Boolean)

Odczytuje kod XML z pliku konfiguracji.

(Odziedziczone po ConfigurationElement)
Equals(Object)

Porównuje bieżące ConfigurationElement wystąpienie z określonym obiektem.

(Odziedziczone po ConfigurationElement)
GetHashCode()

Pobiera unikatową wartość reprezentującą bieżące ConfigurationElement wystąpienie.

(Odziedziczone po ConfigurationElement)
GetTransformedAssemblyString(String)

Zwraca przekształconą wersję określonej nazwy zestawu.

(Odziedziczone po ConfigurationElement)
GetTransformedTypeString(String)

Zwraca przekształconą wersję określonej nazwy typu.

(Odziedziczone po ConfigurationElement)
GetType()

Type Pobiera wartość bieżącego wystąpienia.

(Odziedziczone po Object)
Init()

ConfigurationElement Ustawia obiekt na stan początkowy.

(Odziedziczone po ConfigurationElement)
InitializeDefault()

Służy do inicjowania domyślnego zestawu wartości dla ConfigurationElement obiektu.

(Odziedziczone po ConfigurationElement)
IsModified()

Pobiera wartość określającą, czy ten element konfiguracji został zmodyfikowany.

(Odziedziczone po ServiceModelExtensionElement)
IsReadOnly()

Pobiera wartość wskazującą, czy ConfigurationElement obiekt jest tylko do odczytu.

(Odziedziczone po ConfigurationElement)
ListErrors(IList)

Dodaje błędy nieprawidłowej właściwości w tym ConfigurationElement obiekcie i we wszystkich podelementach do przekazanej listy.

(Odziedziczone po ConfigurationElement)
MemberwiseClone()

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
OnDeserializeUnrecognizedAttribute(String, String)

Pobiera wartość wskazującą, czy podczas deserializacji napotkano nieznany atrybut.

(Odziedziczone po ConfigurationElement)
OnDeserializeUnrecognizedElement(String, XmlReader)

Pobiera wartość wskazującą, czy podczas deserializacji napotkano nieznany element.

(Odziedziczone po ConfigurationElement)
OnRequiredPropertyNotFound(String)

Zgłasza wyjątek, gdy nie znaleziono wymaganej właściwości.

(Odziedziczone po ConfigurationElement)
PostDeserialize()

Wywoływana po deserializacji.

(Odziedziczone po ConfigurationElement)
PreSerialize(XmlWriter)

Wywoływane przed serializacji.

(Odziedziczone po ConfigurationElement)
Reset(ConfigurationElement)

Resetuje stan wewnętrzny tego obiektu elementu konfiguracji, w tym blokady i kolekcje właściwości.

(Odziedziczone po ServiceModelExtensionElement)
ResetModified()

Resetuje wartość IsModified() metody w false przypadku implementacji w klasie pochodnej.

(Odziedziczone po ConfigurationElement)
SerializeElement(XmlWriter, Boolean)

Zapisuje zawartość tego elementu konfiguracji do pliku konfiguracji.

(Odziedziczone po ServiceModelExtensionElement)
SerializeToXmlElement(XmlWriter, String)

Zapisuje zewnętrzne tagi tego elementu konfiguracji do pliku konfiguracji po zaimplementowaniu w klasie pochodnej.

(Odziedziczone po ConfigurationElement)
SetPropertyValue(ConfigurationProperty, Object, Boolean)

Ustawia właściwość na określoną wartość.

(Odziedziczone po ConfigurationElement)
SetPropertyValueIfNotDefaultValue<T>(String, T)

Ustawia wartość właściwości dla elementu konfiguracji, jeśli wartość nie jest wartością domyślną.

(Odziedziczone po ServiceModelConfigurationElement)
SetReadOnly()

IsReadOnly() Ustawia właściwość obiektu ConfigurationElement i wszystkich podelementów.

(Odziedziczone po ConfigurationElement)
ToString()

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)

Modyfikuje obiekt, ConfigurationElement aby usunąć wszystkie wartości, które nie powinny być zapisywane.

(Odziedziczone po ConfigurationElement)

Dotyczy

Zobacz też