Partager via


OrganizationServiceContextElement Class

 

Applies To: Dynamics CRM 2015

(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.OrganizationServiceContextElement

Syntax

public sealed class OrganizationServiceContextElement : InitializableConfigurationElement<OrganizationServiceContext>
public ref class OrganizationServiceContextElement sealed : InitializableConfigurationElement<OrganizationServiceContext^>
[<Sealed>]
type OrganizationServiceContextElement = 
    class
        inherit InitializableConfigurationElement<OrganizationServiceContext>
    end
Public NotInheritable Class OrganizationServiceContextElement
    Inherits InitializableConfigurationElement(Of OrganizationServiceContext)

Constructors

Name Description
System_CAPS_pubmethod OrganizationServiceContextElement()

Initializes a new instance of the OrganizationServiceContextElement

Properties

Name Description
System_CAPS_pubproperty ConnectionStringName

Gets or sets the name of the service connection string.

System_CAPS_pubproperty CurrentConfiguration

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty DependencyType

The dependency type.(Inherited from InitializableConfigurationElement<TDependency>.)

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 Name

Gets or sets the element name.(Overrides InitializableConfigurationElement<TDependency>.Name.)

System_CAPS_pubproperty Parameters

The attributes of the configuration element.(Inherited from InitializableConfigurationElement<TDependency>.)

System_CAPS_protproperty Properties

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty ServiceName

Gets or sets the name of the nested OrganizationServiceElement configuration.

System_CAPS_pubproperty Type

Gets or sets the dependency type name.(Overrides InitializableConfigurationElement<TDependency>.Type.)

Methods

Name Description
System_CAPS_pubmethod AddConfig(String, String)

Adds a setting.(Inherited from InitializableConfigurationElement<TDependency>.)

System_CAPS_pubmethod CreateOrganizationServiceContext(IOrganizationService)

Creates a OrganizationServiceContext object.

System_CAPS_protmethod DeserializeElement(XmlReader, Boolean)

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod Equals(Object)

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod GetHashCode()

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod Init()

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod Initialize(TDependency)

(Inherited from InitializableConfigurationElement<TDependency>.)

System_CAPS_protmethod InitializeDefault()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod IsModified()

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod IsReadOnly()

(Inherited from InitializableConfigurationElement<TDependency>.)

System_CAPS_protmethod Reset(ConfigurationElement)

(Inherited from 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 SetReadOnly()

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryInitialize(Object)

Initializes the dependency object.(Inherited from InitializableConfigurationElement<TDependency>.)

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