A Sandcastle Documented Class Library

# DataSourceCredentialProvider CreateCredentialContext Method

Creates a new credential context.

Namespace: Dundas.BI.Data.DataProviders.CredentialProviders
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    protected virtual CredentialContext CreateCredentialContext(
    	IDictionary<Guid, Object> credentialValues
    )

    Protected Overridable Function CreateCredentialContext (
    	credentialValues As IDictionary(Of Guid, Object)
    ) As CredentialContext

    protected:
    virtual CredentialContext^ CreateCredentialContext(
    	IDictionary<Guid, Object^>^ credentialValues
    )

    abstract CreateCredentialContext :
            credentialValues : IDictionary<Guid, Object> -> CredentialContext
    override CreateCredentialContext :
            credentialValues : IDictionary<Guid, Object> -> CredentialContext

#### Parameters

credentialValues
  Type: System.Collections.Generic
  IDictionary
  Guid, Object
  The credential values to use for the duration of the context.

#### Return Value

Type: CredentialContext
The created context.
Remarks
This method is invoked by the application when a new credential context is required. The default implementation passes the unmodified credentials to the constructor of a new CredentialContext.
See Also

#### Reference

DataSourceCredentialProvider Class
Dundas.BI.Data.DataProviders.CredentialProviders Namespace