Partager via


OrganizationServiceElement 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.OrganizationServiceElement

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod OrganizationServiceElement()

Initializes a new instance of theOrganizationServiceElement class.

Properties

Name Description
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_pubproperty InstanceMode

Gets or sets the instance mode.

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 ObjectCacheName

Gets or sets the name of the nested ObjectCacheElement configuration.

System_CAPS_pubproperty Parameters

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

System_CAPS_protproperty Properties

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty ServiceCacheName

Gets or sets the name of the nested OrganizationServiceCacheElement 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 CreateOrganizationService(CrmConnection, IOrganizationServiceCache)

Creates an IOrganizationService 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