Partager via


CrmSection Class

 

Applies To: Dynamics CRM 2015

Represents a collection of site configuration nodes and settings for all sites in general. (Developer Extensions)

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

Inheritance Hierarchy

System.Object
  System.Configuration.ConfigurationElement
    System.Configuration.ConfigurationSection
      Microsoft.Xrm.Client.Configuration.CrmSection

Syntax

public sealed class CrmSection : ConfigurationSection
public ref class CrmSection sealed : ConfigurationSection
[<Sealed>]
type CrmSection = 
    class
        inherit ConfigurationSection
    end
Public NotInheritable Class CrmSection
    Inherits ConfigurationSection

Constructors

Name Description
System_CAPS_pubmethod CrmSection()

Initializes a new instance of the CrmSection class.

Properties

Name Description
System_CAPS_pubproperty ConfigurationProviderType

System_CAPS_pubproperty ConnectionStrings

System_CAPS_pubproperty Contexts

System_CAPS_pubproperty CurrentConfiguration

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty ElementInformation

(Inherited from ConfigurationElement.)

System_CAPS_protproperty ElementProperty

(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 LockProviderType

System_CAPS_pubproperty MutexTimeout

System_CAPS_pubproperty ObjectCache

System_CAPS_pubproperty ObjectCacheProviderType

System_CAPS_protproperty Properties

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty SectionInformation

(Inherited from ConfigurationSection.)

System_CAPS_pubproperty ServiceCache

System_CAPS_pubproperty Services

Methods

Name Description
System_CAPS_protmethod DeserializeElement(XmlReader, Boolean)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod DeserializeSection(XmlReader)

(Inherited from ConfigurationSection.)

System_CAPS_pubmethod Equals(Object)

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod GetHashCode()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod GetRuntimeObject()

(Inherited from ConfigurationSection.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod Init()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod InitializeDefault()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod IsModified()

(Inherited from ConfigurationSection.)

System_CAPS_pubmethod IsReadOnly()

(Overrides ConfigurationElement.IsReadOnly().)

System_CAPS_protmethod Reset(ConfigurationElement)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod ResetModified()

(Inherited from ConfigurationSection.)

System_CAPS_protmethod SerializeElement(XmlWriter, Boolean)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod SerializeSection(ConfigurationElement, String, ConfigurationSaveMode)

(Inherited from ConfigurationSection.)

System_CAPS_protmethod SerializeToXmlElement(XmlWriter, String)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod SetReadOnly()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod ShouldSerializeElementInTargetVersion(ConfigurationElement, String, FrameworkName)

(Inherited from ConfigurationSection.)

System_CAPS_protmethod ShouldSerializePropertyInTargetVersion(ConfigurationProperty, String, FrameworkName, ConfigurationElement)

(Inherited from ConfigurationSection.)

System_CAPS_protmethod ShouldSerializeSectionInTargetVersion(FrameworkName)

(Inherited from ConfigurationSection.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_protmethod Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)

(Inherited from ConfigurationElement.)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static SectionName

The element name of the section.

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
Configure the context with the configuration file (Dynamics CRM 2015)

Return to top

© 2017 Microsoft. All rights reserved. Copyright