CrmConfigurationProvider.CreateContext Method (String, Boolean)
Applies To: Dynamics CRM 2015
Namespace: Microsoft.Xrm.Client.Configuration
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public virtual OrganizationServiceContext CreateContext(
string contextName = null,
bool allowDefaultFallback = false
)
public:
virtual OrganizationServiceContext^ CreateContext(
String^ contextName = null,
bool allowDefaultFallback = false
)
abstract CreateContext :
contextName:string = null *
allowDefaultFallback:bool = false -> OrganizationServiceContext
override CreateContext :
contextName:string = null *
allowDefaultFallback:bool = false -> OrganizationServiceContext
Public Overridable Function CreateContext (
contextName As String,
allowDefaultFallback As Boolean
) As OrganizationServiceContext
Parameters
- contextName
Type: System.String
- allowDefaultFallback
Type: System.Boolean
Return Value
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContext
Type: OrganizationServiceContext
.
See Also
CrmConfigurationProvider Class
Microsoft.Xrm.Client.Configuration Namespace
Return to top
© 2017 Microsoft. All rights reserved. Copyright