WSDualHttpBindingElement Klasa
Definicja
Reprezentuje element konfiguracji dla bezpiecznego i interoperacyjnego powiązania, które jest odpowiednie dla kontraktów usługi dupleksowej lub komunikacji za pośrednictwem pośredników SOAP.Represents the configuration element for a secure and interoperable binding that is suitable for duplex service contracts or communication through SOAP intermediaries.
public ref class WSDualHttpBindingElement : System::ServiceModel::Configuration::StandardBindingElement
public class WSDualHttpBindingElement : System.ServiceModel.Configuration.StandardBindingElement
type WSDualHttpBindingElement = class
inherit StandardBindingElement
Public Class WSDualHttpBindingElement
Inherits StandardBindingElement
- Dziedziczenie
- Dziedziczenie
-
WSDualHttpBindingElement
Uwagi
WsDualHttpBinding to bezpieczne, niezawodne i interoperacyjne powiązanie odpowiednie dla kontraktów usługi dupleksowej.The wsDualHttpBinding is a secure, reliable, interoperable binding suitable for duplex service contracts. Domyślnie generuje stos czasu wykonywania z protokołem WS-ReliableMessaging w celu zapewnienia niezawodności, zabezpieczenia WS-Security na potrzeby zabezpieczeń i uwierzytelniania wiadomości, protokołu HTTP na potrzeby dostarczania komunikatów oraz kodowania wiadomości tekstowych/XML.By default, it generates a run-time stack with WS-ReliableMessaging for reliability, WS-Security for message security and authentication, HTTP for message delivery, and a Text/XML message encoding.
To powiązanie wymaga, aby klient miał publiczny identyfikator URI.This binding requires that the client has a public URI. Może służyć do niezawodnego komunikowania się przez jeden lub więcej pośredników SOAP.It can be used to communicate reliably through one or more SOAP intermediaries.
Konstruktory
WSDualHttpBindingElement() |
Inicjuje nowe wystąpienie klasy WSDualHttpBindingElement.Initializes a new instance of the WSDualHttpBindingElement class. |
WSDualHttpBindingElement(String) |
Inicjuje nowe wystąpienie WSDualHttpBindingElement klasy o określonej nazwie.Initializes a new instance of the WSDualHttpBindingElement class with the specified name. |
Właściwości
BindingElementType |
Pobiera typ tego elementu powiązania.Gets the type of this binding element. |
BypassProxyOnLocal |
Pobiera lub ustawia wartość logiczną określającą, czy pominąć serwer proxy dla adresów lokalnych.Gets or sets a boolean value that specifies whether to bypass the proxy server for local addresses. |
ClientBaseAddress |
Pobiera lub ustawia identyfikator URI określający adres podstawowy, do którego klient nasłuchuje komunikatów odpowiedzi z usługi.Gets or sets a URI that specifies the base address the client listens to for response messages from the service. |
CloseTimeout |
Pobiera lub ustawia przedział czasu przewidziany na zakończenie operacji zamknięcia.Gets or sets the interval of time provided for a close operation to complete. (Odziedziczone po StandardBindingElement) |
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 |
HostNameComparisonMode |
Pobiera lub ustawia tryb porównania nazw hostów HTTP używany do analizowania identyfikatorów URI.Gets or sets the HTTP hostname comparison mode used to parse URIs. |
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) |
MaxBufferPoolSize |
Pobiera lub ustawia maksymalną ilość pamięci (w bajtach), która może zostać przypisana do Menedżera buforów komunikatów, która odbiera komunikaty w punktach końcowych skonfigurowanych dla tego powiązania.Gets or sets the maximum amount of memory, in bytes, that can be allocated for the message buffer manager, which receives messages at the endpoints configured with this binding. |
MaxReceivedMessageSize |
Pobiera lub ustawia maksymalny rozmiar komunikatu, który może zostać odebrany w kanale skonfigurowanym za pomocą tego powiązania, w bajtach.Gets or sets the maximum size, in bytes, for a message that can be received on a channel configured with this binding. |
MessageEncoding |
Pobiera lub ustawia koder używany do kodowania wiadomości.Gets or sets the encoder used to encode the message. |
Name |
Pobiera lub ustawia nazwę powiązania.Gets or sets the name of the binding. (Odziedziczone po StandardBindingElement) |
OpenTimeout |
Pobiera lub ustawia przedział czasu przewidziany na zakończenie operacji otwierania.Gets or sets the interval of time provided for an open operation to complete. (Odziedziczone po StandardBindingElement) |
Properties |
Pobiera ConfigurationPropertyCollection wystąpienie, które zawiera kolekcję ConfigurationProperty obiektów, które mogą być atrybutami lub ConfigurationElement obiektami tego elementu konfiguracji.Gets a ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element. |
ProxyAddress |
Pobiera lub ustawia identyfikator URI, który określa adres serwera proxy HTTP.Gets or set a URI that specifies the address of the HTTP proxy. |
ReaderQuotas |
Pobiera lub ustawia ograniczenia złożoności komunikatów protokołu SOAP, które mogą być przetwarzane przez punkty końcowe skonfigurowane za pomocą tego powiązania.Gets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding. |
ReceiveTimeout |
Pobiera lub ustawia przedział czasu określony dla operacji odbioru.Gets or sets the interval of time provided for a receive operation to complete. (Odziedziczone po StandardBindingElement) |
ReliableSession |
Pobiera element konfiguracji, który określa, czy w punkcie końcowym skonfigurowanym dla tego powiązania są włączone niezawodne sesje.Gets a configuration element that specifies whether reliable sessions are enabled for the endpoint configured with this binding. |
Security |
Pobiera typ zabezpieczeń, który ma być używany z tym powiązaniem.Gets the type of security to be used with this binding. |
SendTimeout |
Pobiera lub ustawia przedział czasu przewidziany na zakończenie operacji wysyłania.Gets or sets the interval of time provided for a send operation to complete. (Odziedziczone po StandardBindingElement) |
TextEncoding |
Pobiera lub ustawia kodowanie zestawu znaków, które będzie używane do emitowania komunikatów w powiązaniu.Gets or sets the character set encoding to be used for emitting messages on the binding. |
TransactionFlow |
Pobiera lub ustawia wartość logiczną określającą, czy powiązanie obsługuje przepływy WS-Transactions.Gets or sets a boolean value that specifies whether the binding supports flowing WS-Transactions. |
UseDefaultWebProxy |
Pobiera lub ustawia wartość logiczną określającą, czy jest używany konfigurowany przez system serwer proxy HTTP.Gets or sets a boolean value that specifies whether the system's auto-configured HTTP proxy is used. |
Metody
ApplyConfiguration(Binding) |
Stosuje zawartość określonego powiązania do tego elementu konfiguracji powiązania.Applies the content of the specified binding to this binding configuration element. (Odziedziczone po StandardBindingElement) |
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) |
InitializeFrom(Binding) |
Inicjuje tę sekcję konfiguracji powiązań z zawartością określonej kolekcji powiązań.Initializes this binding configuration section with the content of the specified binding collection. |
IsModified() |
Wskazuje, czy ten element konfiguracji został zmodyfikowany od czasu ostatniego zapisania lub załadowania, gdy jest zaimplementowany w klasie pochodnej.Indicates whether this configuration element has been modified since it was last saved or loaded, when implemented in a derived class. (Odziedziczone po ConfigurationElement) |
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) |
OnApplyConfiguration(Binding) |
Wywoływana, gdy zawartość określonej kolekcji powiązań zostanie zastosowana do tego elementu konfiguracji powiązania.Called when the content of a specified binding collection is applied to this binding configuration element. |
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 StandardBindingElement) |
ResetModified() |
Resetuje wartość IsModified() metody do |
SerializeElement(XmlWriter, Boolean) |
Zapisuje zawartość tego elementu konfiguracji w pliku konfiguracji w przypadku zaimplementowania w klasie pochodnej.Writes the contents of this configuration element to the configuration file when implemented in a derived class. (Odziedziczone po ConfigurationElement) |
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) |