ServiceHealthElement Klasa
Definicja
Reprezentuje element konfiguracji < servicehealth >
, który definiuje zachowanie kondycji usługi.Represents a <serviceHealth>
configuration element that defines a service health behavior.
public ref class ServiceHealthElement sealed : System::ServiceModel::Configuration::BehaviorExtensionElement
public sealed class ServiceHealthElement : System.ServiceModel.Configuration.BehaviorExtensionElement
type ServiceHealthElement = class
inherit BehaviorExtensionElement
Public NotInheritable Class ServiceHealthElement
Inherits BehaviorExtensionElement
- Dziedziczenie
Konstruktory
ServiceHealthElement() |
Inicjuje nowe wystąpienie klasy ServiceHealthElement.Initializes a new instance of the ServiceHealthElement class. |
Właściwości
BehaviorType |
Pobiera typ tego elementu zachowania kondycji usługi.Gets the type of this service health behavior element. |
ConfigurationElementName |
Pobiera nazwę tego elementu konfiguracji.Gets the name of this configuration element. (Odziedziczone po ServiceModelExtensionElement) |
CurrentConfiguration |
Pobiera odwołanie do wystąpienia najwyższego poziomu Configuration , które reprezentuje hierarchię konfiguracji, do której ConfigurationElement należy bieżące wystąpienie.Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to. (Odziedziczone po ConfigurationElement) |
ElementInformation |
Pobiera ElementInformation obiekt, który zawiera informacje, które nie są dostosowywane i funkcje ConfigurationElement obiektu.Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object. (Odziedziczone po ConfigurationElement) |
ElementProperty |
Pobiera ConfigurationElementProperty obiekt, który reprezentuje ConfigurationElement sam obiekt.Gets the ConfigurationElementProperty object that represents the ConfigurationElement object itself. (Odziedziczone po ConfigurationElement) |
EvaluationContext |
Pobiera ContextInformation obiekt dla ConfigurationElement obiektu.Gets the ContextInformation object for the ConfigurationElement object. (Odziedziczone po ConfigurationElement) |
HasContext |
Pobiera wartość wskazującą, czy CurrentConfiguration Właściwość jest |
HealthDetailsEnabled |
Pobiera lub ustawia wartość określającą, czy usługa może wyświetlać szczegóły i informacje o usłudze na stronie kondycji.Gets or sets a value that controls whether the service is allowed to display service details and information in the health page. |
HttpGetBinding |
Pobiera lub ustawia ciąg, który reprezentuje typ powiązania używany do pobierania kondycji za pośrednictwem żądania HTTP/GET.Gets or sets a string that represents the type of binding used for health retrieval via an HTTP/Get request. |
HttpGetBindingConfiguration |
Pobiera lub ustawia nazwę powiązania, które jest określone we HttpGetBinding właściwości.Gets or sets the name of the binding that is specified in the HttpGetBinding property. |
HttpGetEnabled |
Pobiera lub ustawia wartość określającą, czy usługa publikuje informacje o kondycji pod adresem określonym przez |
HttpGetUrl |
Pobiera lub ustawia lokalizację, w której informacje o kondycji usługi są publikowane do pobrania przy użyciu protokołu HTTP.Gets or sets the location at which the service health information is published for retrieval using HTTP. |
HttpsGetBinding |
Pobiera lub ustawia ciąg, który reprezentuje typ powiązania używany do pobierania kondycji za pośrednictwem żądania HTTPS/GET.Gets or sets a string that represents the type of binding used for health retrieval via an HTTPS/Get request. |
HttpsGetBindingConfiguration |
Pobiera lub ustawia nazwę powiązania, które jest określone we HttpsGetBinding właściwości.Gets or sets the name of the binding that is specified in the HttpsGetBinding property. |
HttpsGetEnabled |
Pobiera lub ustawia wartość określającą, czy usługa publikuje informacje o kondycji pod adresem określonym przez |
HttpsGetUrl |
Pobiera lub ustawia lokalizację, w której informacje o kondycji usługi są publikowane do pobrania przy użyciu protokołu HTTPS.Gets or sets the location at which the service health information is published for retrieval using HTTPS. |
Item[ConfigurationProperty] |
Pobiera lub ustawia właściwość lub atrybut tego elementu konfiguracji.Gets or sets a property or attribute of this configuration element. (Odziedziczone po ConfigurationElement) |
Item[String] |
Pobiera lub ustawia właściwość, atrybut lub element podrzędny tego elementu konfiguracji.Gets or sets a property, attribute, or child element of this configuration element. (Odziedziczone po ConfigurationElement) |
LockAllAttributesExcept |
Pobiera kolekcję zablokowanych atrybutów.Gets the collection of locked attributes. (Odziedziczone po ConfigurationElement) |
LockAllElementsExcept |
Pobiera kolekcję zablokowanych elementów.Gets the collection of locked elements. (Odziedziczone po ConfigurationElement) |
LockAttributes |
Pobiera kolekcję zablokowanych atrybutów.Gets the collection of locked attributes. (Odziedziczone po ConfigurationElement) |
LockElements |
Pobiera kolekcję zablokowanych elementów.Gets the collection of locked elements. (Odziedziczone po ConfigurationElement) |
LockItem |
Pobiera lub ustawia wartość wskazującą, czy element jest zablokowany.Gets or sets a value indicating whether the element is locked. (Odziedziczone po ConfigurationElement) |
Properties |
Pobiera kolekcję właściwości.Gets the collection of properties. (Odziedziczone po ConfigurationElement) |
Metody
CopyFrom(ServiceModelExtensionElement) |
Kopiuje zawartość określonej sekcji konfiguracyjnej do tej sekcji konfiguracji.Copies the content of the specified configuration section to this configuration section. |
CreateBehavior() |
Tworzy rozszerzenie zachowania na podstawie bieżących ustawień konfiguracji.Creates a behavior extension based on the current configuration settings. (Odziedziczone po BehaviorExtensionElement) |
DeserializeElement(XmlReader, Boolean) |
Odczytuje dane XML z pliku konfiguracyjnego.Reads XML from the configuration file. (Odziedziczone po ConfigurationElement) |
Equals(Object) |
Porównuje bieżące ConfigurationElement wystąpienie do określonego obiektu.Compares the current ConfigurationElement instance to the specified object. (Odziedziczone po ConfigurationElement) |
GetHashCode() |
Pobiera unikatową wartość reprezentującą bieżące ConfigurationElement wystąpienie.Gets a unique value representing the current ConfigurationElement instance. (Odziedziczone po ConfigurationElement) |
GetTransformedAssemblyString(String) |
Zwraca przekształconą wersję określonej nazwy zestawu.Returns the transformed version of the specified assembly name. (Odziedziczone po ConfigurationElement) |
GetTransformedTypeString(String) |
Zwraca przekształconą wersję określonej nazwy typu.Returns the transformed version of the specified type name. (Odziedziczone po ConfigurationElement) |
GetType() |
Pobiera Type bieżące wystąpienie.Gets the Type of the current instance. (Odziedziczone po Object) |
Init() |
Ustawia ConfigurationElement obiekt do stanu początkowego.Sets the ConfigurationElement object to its initial state. (Odziedziczone po ConfigurationElement) |
InitializeDefault() |
Służy do inicjowania domyślnego zestawu wartości dla ConfigurationElement obiektu.Used to initialize a default set of values for the ConfigurationElement object. (Odziedziczone po ConfigurationElement) |
IsModified() |
Pobiera wartość określającą, czy ten element konfiguracji został zmodyfikowany.Gets a value that specifies whether this configuration element has been modified. (Odziedziczone po ServiceModelExtensionElement) |
IsReadOnly() |
Pobiera wartość wskazującą, czy ConfigurationElement obiekt jest tylko do odczytu.Gets a value indicating whether the ConfigurationElement object is read-only. (Odziedziczone po ConfigurationElement) |
ListErrors(IList) |
Dodaje błędy nieprawidłowej właściwości w tym ConfigurationElement obiekcie i we wszystkich podelementach do listy zakończonych.Adds the invalid-property errors in this ConfigurationElement object, and in all subelements, to the passed list. (Odziedziczone po ConfigurationElement) |
MemberwiseClone() |
Tworzy skróconą kopię bieżącego elementu Object .Creates a shallow copy of the current Object. (Odziedziczone po Object) |
OnDeserializeUnrecognizedAttribute(String, String) |
Pobiera wartość wskazującą, czy podczas deserializacji napotkano nieznany atrybut.Gets a value indicating whether an unknown attribute is encountered during deserialization. (Odziedziczone po ConfigurationElement) |
OnDeserializeUnrecognizedElement(String, XmlReader) |
Pobiera wartość wskazującą, czy nieznany element został napotkany podczas deserializacji.Gets a value indicating whether an unknown element is encountered during deserialization. (Odziedziczone po ConfigurationElement) |
OnRequiredPropertyNotFound(String) |
Zgłasza wyjątek, gdy wymagana właściwość nie zostanie znaleziona.Throws an exception when a required property is not found. (Odziedziczone po ConfigurationElement) |
PostDeserialize() |
Wywoływana po deserializacji.Called after deserialization. (Odziedziczone po ConfigurationElement) |
PreSerialize(XmlWriter) |
Wywoływana przed serializacji.Called before serialization. (Odziedziczone po ConfigurationElement) |
Reset(ConfigurationElement) |
Resetuje stan wewnętrzny tego obiektu elementu konfiguracji, w tym blokady i kolekcje właściwości.Resets the internal state of this configuration element object, including the locks and the properties collections. (Odziedziczone po ServiceModelExtensionElement) |
ResetModified() |
Resetuje wartość IsModified() metody do |
SerializeElement(XmlWriter, Boolean) |
Zapisuje zawartość tego elementu konfiguracji w pliku konfiguracji.Writes the contents of this configuration element to the configuration file. (Odziedziczone po ServiceModelExtensionElement) |
SerializeToXmlElement(XmlWriter, String) |
Zapisuje zewnętrzne Tagi tego elementu konfiguracji w pliku konfiguracji po zaimplementowaniu w klasie pochodnej.Writes the outer tags of this configuration element to the configuration file when implemented in a derived class. (Odziedziczone po ConfigurationElement) |
SetPropertyValue(ConfigurationProperty, Object, Boolean) |
Ustawia właściwość na określoną wartość.Sets a property to the specified value. (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ą.Sets the property value for the configuration element if the value is not the default value. (Odziedziczone po ServiceModelConfigurationElement) |
SetReadOnly() |
Ustawia IsReadOnly() Właściwość dla ConfigurationElement obiektu i wszystkie podelementy.Sets the IsReadOnly() property for the ConfigurationElement object and all subelements. (Odziedziczone po ConfigurationElement) |
ToString() |
Zwraca ciąg reprezentujący bieżący obiekt.Returns a string that represents the current object. (Odziedziczone po Object) |
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) |
Modyfikuje ConfigurationElement obiekt, aby usunąć wszystkie wartości, które nie powinny być zapisane.Modifies the ConfigurationElement object to remove all values that should not be saved. (Odziedziczone po ConfigurationElement) |