CrmConfigurationProvider.CreateContext Method (String, Boolean)
Applies To: Dynamics CRM 2013
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
Developer extensions for Microsoft Dynamics CRM 2013
Return to top