Share via


ApplicationIdCredentialsProvider Class

 

Provides credentials in the form of an application ID (a Bing Maps Key).

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

Inheritance Hierarchy

System.Object
  Microsoft.Maps.MapControl.WPF.Core.CredentialsProvider
    Microsoft.Maps.MapControl.WPF.ApplicationIdCredentialsProvider

Syntax

public class ApplicationIdCredentialsProvider : CredentialsProvider, 
    INotifyPropertyChanged
public ref class ApplicationIdCredentialsProvider : CredentialsProvider, 
    INotifyPropertyChanged
type ApplicationIdCredentialsProvider = 
    class
        inherit CredentialsProvider
        interface INotifyPropertyChanged
    end
Public Class ApplicationIdCredentialsProvider
    Inherits CredentialsProvider
    Implements INotifyPropertyChanged

Constructors

Name Description
System_CAPS_pubmethod ApplicationIdCredentialsProvider()

Initializes a new instance of the ApplicationIdCredentialsProvider class.

System_CAPS_pubmethod ApplicationIdCredentialsProvider(String)

Initializes a new instance of the ApplicationIdCredentialsProvider class using the specified application ID.

Properties

Name Description
System_CAPS_pubproperty ApplicationId

Gets or sets the application ID. The application ID is your Bing Maps Key. Information about getting a Bing Maps Key is found in Getting a Bing Maps Key.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetCredentials(Action<Credentials>)

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.(Overrides CredentialsProvider.GetCredentials(Action<Credentials>).)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnPropertyChanged(String)

Enables the ability to provide custom handling when a property of this class changes.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent PropertyChanged

Occurs when a property of this class changes.

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.

See Also

Microsoft.Maps.MapControl.WPF Namespace
Getting a Bing Maps Key

Return to top