OrganizationServiceInstanceMode 列舉
適用於: Microsoft Dynamics CRM 2015, Microsoft Dynamics CRM Online
Contains values to specify how CrmConfigurationManager will adjust its instantiation behavior. (Developer Extensions)
命名空間: Microsoft.Xrm.Client.Configuration
組件: Microsoft.Xrm.Client (在 Microsoft.Xrm.Client.dll 中)
使用方式
'用途
Dim instance As OrganizationServiceInstanceMode
語法
'宣告
Public Enumeration OrganizationServiceInstanceMode
public enum OrganizationServiceInstanceMode
成員
成員名稱 | 描述 |
---|---|
PerInstance | Return a new instance on each call. Value = 3. |
PerName | Return a single instance for each configuration element specified. Value = 1. |
PerRequest | Return the same first instance in the context of a Web request, For example, one instance for each HttpContext instance. Value = 2. |
Static | Always 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
請參閱
參照
Microsoft.Xrm.Client.Configuration 命名空間
其他資源
Developer Extensions for Microsoft Dynamics CRM
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.