OrganizationServiceInstanceMode Penghitungan

Applies To: Microsoft Dynamics CRM 2015, Microsoft Dynamics CRM Online

Contains values to specify how CrmConfigurationManager will adjust its instantiation behavior. (Developer Extensions)

Ruang nama: Microsoft.Xrm.Client.Configuration
Perhimpunan: Microsoft.Xrm.Client (dalam Microsoft.Xrm.Client.dll)

Dim instance As OrganizationServiceInstanceMode

public enum OrganizationServiceInstanceMode

Nama ahliPerihalan
PerInstanceReturn a new instance on each call. Value = 3.
PerNameReturn a single instance for each configuration element specified. Value = 1.
PerRequestReturn the same first instance in the context of a Web request, For example, one instance for each HttpContext instance. Value = 2.
StaticAlways return the same static instance. Value = 0.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.