Freigeben über


IAsyncStringStorage.GetAsync Method

Definition

Overloads

GetAsync(String)
GetAsync(String, CancellationToken)

GetAsync(String)

public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Settings::VersionedString ^> ^ GetAsync(System::String ^ name);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Settings.VersionedString> GetAsync (string name);
abstract member GetAsync : string -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Settings.VersionedString>
Public Function GetAsync (name As String) As Task(Of VersionedString)

Parameters

name
String

Returns

Applies to

GetAsync(String, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.VisualStudio.Settings.VersionedString> GetAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Settings.VersionedString>
Public Function GetAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VersionedString)

Parameters

name
String
cancellationToken
CancellationToken

Returns

Applies to