Share via


CredentialsProvider.GetCredentials Method

This documentation is no longer available on MSDN, however it is available as a CHM download.

When overridden in a derived class, retrieves the credentials used by the map control.

Namespace: Microsoft.Maps.MapControl.Core
Assembly: Microsoft.Maps.MapControl.Common (in Microsoft.Maps.MapControl.Common.dll)

Usage

Syntax

'Declaration
Public MustOverride Sub GetCredentials ( _
    callback As Action(Of Credentials) _
)
public abstract void GetCredentials (
    Action<Credentials> callback
)
public:
virtual void GetCredentials (
    Action<Credentials^>^ callback
) abstract
public abstract void GetCredentials (
    Action<Credentials> callback
)
public abstract function GetCredentials (
    callback : Action<Credentials>
)

Parameters

  • callback
    The function to call when the credentials are retrieved.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

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

See Also

Reference

CredentialsProvider Class
CredentialsProvider Members
Microsoft.Maps.MapControl.Core Namespace