ApplicationIdCredentialsProvider.GetCredentials Method

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

Retrieves the credentials for the map control. This method can be used to pass your Bing Maps Key to other Bing Maps APIs, such as the Bing Maps REST Services.

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

Usage

Syntax

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

Parameters

  • callback
    The function to call when 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

ApplicationIdCredentialsProvider Class
ApplicationIdCredentialsProvider Members
Microsoft.Maps.MapControl Namespace