Partager via


InitializableConfigurationElement<TDependency> Class

 

Applies To: Dynamics CRM 2015

Represents a configuration file element that can be initialized. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Configuration
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Inheritance Hierarchy

System.Object
  System.Configuration.ConfigurationElement
    Microsoft.Xrm.Client.Configuration.InitializableConfigurationElement<TDependency>
      Microsoft.Xrm.Client.Configuration.ObjectCacheElement
      Microsoft.Xrm.Client.Configuration.OrganizationServiceCacheElement
      Microsoft.Xrm.Client.Configuration.OrganizationServiceContextElement
      Microsoft.Xrm.Client.Configuration.OrganizationServiceElement

Syntax

public abstract class InitializableConfigurationElement<TDependency> : ConfigurationElement
generic<typename TDependency>
public ref class InitializableConfigurationElement abstract : ConfigurationElement
[<AbstractClass>]
type InitializableConfigurationElement<'TDependency> = 
    class
        inherit ConfigurationElement
    end
Public MustInherit Class InitializableConfigurationElement(Of TDependency)
    Inherits ConfigurationElement

Type Parameters

  • TDependency

Constructors

Name Description
System_CAPS_protmethod InitializableConfigurationElement<TDependency>()

Initializes a new instance of the InitializableConfigurationElement<TDependency> class.

Properties

Name Description
System_CAPS_pubproperty CurrentConfiguration

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty DependencyType

The dependency type.

System_CAPS_pubproperty ElementInformation

(Inherited from ConfigurationElement.)

System_CAPS_protproperty ElementProperty

(Inherited from ConfigurationElement.)

System_CAPS_protproperty EvaluationContext

(Inherited from ConfigurationElement.)

System_CAPS_protproperty HasContext

(Inherited from ConfigurationElement.)

System_CAPS_protproperty Item[ConfigurationProperty]

(Inherited from ConfigurationElement.)

System_CAPS_protproperty Item[String]

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockAllAttributesExcept

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockAllElementsExcept

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockAttributes

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockElements

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockItem

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty Name

The name of the configuration element.

System_CAPS_pubproperty Parameters

The attributes of the configuration element.

System_CAPS_protproperty Properties

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty Type

The dependency type name.

Methods

Name Description
System_CAPS_pubmethod AddConfig(String, String)

Adds a setting.

System_CAPS_protmethod CreateDependency<TDefault>(Func<TDefault>, Object[])

System_CAPS_protmethod CreateDependency<TDefault1, TDefault2>(Func<TDefault1>, Object[], Func<TDefault2>, Object[])

System_CAPS_protmethod CreateDependencyAndInitialize<TDefault>(Func<TDefault>, Object[])

System_CAPS_protmethod CreateDependencyAndInitialize<TDefault1, TDefault2>(Func<TDefault1>, Object[], Func<TDefault2>, Object[])

System_CAPS_protmethod DeserializeElement(XmlReader, Boolean)

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod Equals(Object)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_protmethod GetDependencyType()

System_CAPS_pubmethod GetHashCode()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod GetTransformedAssemblyString(String)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod GetTransformedTypeString(String)

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod Init()

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod Initialize(TDependency)

System_CAPS_protmethod InitializeDefault()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod IsModified()

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod IsReadOnly()

(Overrides ConfigurationElement.IsReadOnly().)

System_CAPS_protmethod ListErrors(IList)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnDeserializeUnrecognizedAttribute(String, String)

(Overrides ConfigurationElement.OnDeserializeUnrecognizedAttribute(String, String).)

System_CAPS_protmethod OnDeserializeUnrecognizedElement(String, XmlReader)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod OnRequiredPropertyNotFound(String)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod PostDeserialize()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod PreSerialize(XmlWriter)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod Reset(ConfigurationElement)

(Overrides ConfigurationElement.Reset(ConfigurationElement).)

System_CAPS_protmethod ResetModified()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod SerializeElement(XmlWriter, Boolean)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod SerializeToXmlElement(XmlWriter, String)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod SetPropertyValue(ConfigurationProperty, Object, Boolean)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod SetReadOnly()

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryInitialize(Object)

Initializes the dependency object.

System_CAPS_protmethod Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)

(Inherited from ConfigurationElement.)

Extension Methods

Name Description
System_CAPS_pubmethod SerializeByJson(IEnumerable<Type>)

Serialize an object using the DataContractJsonSerializer.(Defined by ObjectExtensions.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Client.Configuration Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright