PersistenceProviderElement Classe
Definição
Cuidado
The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*
Representa um elemento de configuração do serviço de persistência que especifica o tipo da implementação do provedor de persistência a ser usada, bem como o tempo limite a ser usado para operações de persistência.Represents a persistence service configuration element that specifies the type of the persistence provider implementation to use, as well as the time-out to use for persistence operations. Os atributos adicionais exibidos neste elemento são passados para o construtor para o provedor de persistência especificado.Additional attributes that appear in this element are passed into the constructor for the specified persistence provider.
public ref class PersistenceProviderElement : System::ServiceModel::Configuration::BehaviorExtensionElement
public class PersistenceProviderElement : System.ServiceModel.Configuration.BehaviorExtensionElement
[System.Obsolete("The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*")]
public class PersistenceProviderElement : System.ServiceModel.Configuration.BehaviorExtensionElement
type PersistenceProviderElement = class
inherit BehaviorExtensionElement
[<System.Obsolete("The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*")>]
type PersistenceProviderElement = class
inherit BehaviorExtensionElement
Public Class PersistenceProviderElement
Inherits BehaviorExtensionElement
- Herança
-
PersistenceProviderElement
- Herança
-
PersistenceProviderElement
- Atributos
Comentários
Os elementos de configuração do provedor de persistência normalmente são definidos no arquivo de configuração do aplicativo, sob o system.serviceModel nó, na serviceBehaviors subseção da behaviors seção.Persistence provider configuration elements are typically defined in the application configuration file, under the system.serviceModel node, in the serviceBehaviors subsection of the behaviors section.
Construtores
| PersistenceProviderElement() |
Inicializa uma nova instância da classe PersistenceProviderElement.Initializes a new instance of the PersistenceProviderElement class. |
Propriedades
| BehaviorType |
Obtém o tipo de comportamento.Gets the type of behavior. |
| ConfigurationElementName |
Obtém o nome deste elemento de configuração.Gets the name of this configuration element. (Herdado de ServiceModelExtensionElement) |
| CurrentConfiguration |
Obtém uma referência para a instância Configuration de nível superior que representa a hierarquia de configuração à qual a instância atual ConfigurationElement pertence.Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to. (Herdado de ConfigurationElement) |
| ElementInformation |
Obtém um objeto ElementInformation que contém as informações não personalizáveis e a funcionalidade do objeto ConfigurationElement.Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object. (Herdado de ConfigurationElement) |
| ElementProperty |
Obtém o objeto ConfigurationElementProperty que representa o próprio objeto ConfigurationElement.Gets the ConfigurationElementProperty object that represents the ConfigurationElement object itself. (Herdado de ConfigurationElement) |
| EvaluationContext |
Obtém o objeto ContextInformation para o objeto ConfigurationElement.Gets the ContextInformation object for the ConfigurationElement object. (Herdado de ConfigurationElement) |
| HasContext |
Obtém um valor que indica se a propriedade CurrentConfiguration é |
| Item[ConfigurationProperty] |
Obtém ou define uma propriedade ou um atributo desse elemento de configuração.Gets or sets a property or attribute of this configuration element. (Herdado de ConfigurationElement) |
| Item[String] |
Obtém ou define uma propriedade, atributo ou elemento filho desse elemento de configuração.Gets or sets a property, attribute, or child element of this configuration element. (Herdado de ConfigurationElement) |
| LockAllAttributesExcept |
Obtém a coleção de atributos bloqueados.Gets the collection of locked attributes. (Herdado de ConfigurationElement) |
| LockAllElementsExcept |
Obtém a coleção de elementos bloqueados.Gets the collection of locked elements. (Herdado de ConfigurationElement) |
| LockAttributes |
Obtém a coleção de atributos bloqueados.Gets the collection of locked attributes. (Herdado de ConfigurationElement) |
| LockElements |
Obtém a coleção de elementos bloqueados.Gets the collection of locked elements. (Herdado de ConfigurationElement) |
| LockItem |
Obtém ou define um valor que indica se o elemento está bloqueado.Gets or sets a value indicating whether the element is locked. (Herdado de ConfigurationElement) |
| PersistenceOperationTimeout |
Obtém ou define o tempo limite usado para operações de persistência.Gets or sets the time-out used for persistence operations. |
| PersistenceProviderArguments |
Obtém os atributos adicionais deste PersistenceProviderElement.Gets additional attributes of this PersistenceProviderElement. |
| Properties |
Obtém a coleção de propriedades.Gets the collection of properties. (Herdado de ConfigurationElement) |
| Type |
Obtém ou define o tipo de provedor de persistência a ser usado pelo serviço.Gets or sets the type of the persistence provider to be used by the service. |
Métodos
| CopyFrom(ServiceModelExtensionElement) |
Copia o conteúdo do elemento de configuração especificado para este elemento de configuração.Copies the content of the specified configuration element to this configuration element. (Herdado de ServiceModelExtensionElement) |
| CreateBehavior() |
Cria um comportamento personalizado com base nas configurações deste elemento de configuração.Creates a custom behavior based on the settings of this configuration element. |
| DeserializeElement(XmlReader, Boolean) |
Lê o XML do arquivo de configuração.Reads XML from the configuration file. (Herdado de ConfigurationElement) |
| Equals(Object) |
Compara a instância ConfigurationElement atual com o objeto especificado.Compares the current ConfigurationElement instance to the specified object. (Herdado de ConfigurationElement) |
| GetHashCode() |
Obtém um valor exclusivo que representa a instância ConfigurationElement atual.Gets a unique value representing the current ConfigurationElement instance. (Herdado de ConfigurationElement) |
| GetTransformedAssemblyString(String) |
Retorna a versão transformada do nome do assembly especificado.Returns the transformed version of the specified assembly name. (Herdado de ConfigurationElement) |
| GetTransformedTypeString(String) |
Retorna a versão transformada do nome do tipo especificado.Returns the transformed version of the specified type name. (Herdado de ConfigurationElement) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| Init() |
Define o objeto ConfigurationElement para seu estado inicial.Sets the ConfigurationElement object to its initial state. (Herdado de ConfigurationElement) |
| InitializeDefault() |
Usado para inicializar um conjunto padrão de valores para o objeto ConfigurationElement.Used to initialize a default set of values for the ConfigurationElement object. (Herdado de ConfigurationElement) |
| IsModified() |
Indica se este elemento de configuração foi modificado desde a última vez em que foi salvo ou carregado.Indicates whether this configuration element has been modified since it was last saved or loaded. |
| IsReadOnly() |
Obtém um valor que indica se o objeto ConfigurationElement é somente leitura.Gets a value indicating whether the ConfigurationElement object is read-only. (Herdado de ConfigurationElement) |
| ListErrors(IList) |
Adiciona os erros de propriedade inválida deste objeto ConfigurationElement e de todos os subelementos à lista passada.Adds the invalid-property errors in this ConfigurationElement object, and in all subelements, to the passed list. (Herdado de ConfigurationElement) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| OnDeserializeUnrecognizedAttribute(String, String) |
Indica se um atributo desconhecido é encontrado durante a desserialização.Indicates whether an unknown attribute is encountered during deserialization. |
| OnDeserializeUnrecognizedElement(String, XmlReader) |
Obtém um valor que indica se um elemento desconhecido é encontrado durante a desserialização.Gets a value indicating whether an unknown element is encountered during deserialization. (Herdado de ConfigurationElement) |
| OnRequiredPropertyNotFound(String) |
Gera uma exceção quando uma propriedade necessária não é encontrada.Throws an exception when a required property is not found. (Herdado de ConfigurationElement) |
| PostDeserialize() |
Chamado depois da desserialização.Called after deserialization. |
| PreSerialize(XmlWriter) |
Chamado antes da serialização.Called before serialization. (Herdado de ConfigurationElement) |
| Reset(ConfigurationElement) |
Redefine o estado interno deste objeto de elemento de configuração, incluindo os bloqueios e as coleções de propriedades.Resets the internal state of this configuration element object, including the locks and the properties collections. (Herdado de ServiceModelExtensionElement) |
| ResetModified() |
Redefine o valor do método IsModified() para |
| SerializeElement(XmlWriter, Boolean) |
Grava o conteúdo desse elemento de configuração no arquivo de configuração.Writes the contents of this configuration element to the configuration file. |
| SerializeToXmlElement(XmlWriter, String) |
Grava as marcas externas desse elemento de configuração no arquivo de configuração quando implementado em uma classe derivada.Writes the outer tags of this configuration element to the configuration file when implemented in a derived class. (Herdado de ConfigurationElement) |
| SetPropertyValue(ConfigurationProperty, Object, Boolean) |
Define uma propriedade para o valor especificado.Sets a property to the specified value. (Herdado de ConfigurationElement) |
| SetPropertyValueIfNotDefaultValue<T>(String, T) |
Define o valor da propriedade para o elemento de configuração, caso não seja o valor padrão.Sets the property value for the configuration element if the value is not the default value. (Herdado de ServiceModelConfigurationElement) |
| SetReadOnly() |
Define a propriedade IsReadOnly() para o objeto ConfigurationElement e para todos os subelementos.Sets the IsReadOnly() property for the ConfigurationElement object and all subelements. (Herdado de ConfigurationElement) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |
| Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) |
Modifica este objeto de elemento de configuração para remover todos os valores que não devem ser salvos.Modifies this configuration element object to remove all values that should not be saved. |