共用方式為


UriImageSource.IStreamImageSource.GetStreamAsync(CancellationToken) Method

Definition

 virtual System::Threading::Tasks::Task<System::IO::Stream ^> ^ Microsoft.Maui.IStreamImageSource.GetStreamAsync(System::Threading::CancellationToken userToken) = Microsoft::Maui::IStreamImageSource::GetStreamAsync;
System.Threading.Tasks.Task<System.IO.Stream> IStreamImageSource.GetStreamAsync (System.Threading.CancellationToken userToken);
abstract member Microsoft.Maui.IStreamImageSource.GetStreamAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.Microsoft.Maui.IStreamImageSource.GetStreamAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
Function GetStreamAsync (userToken As CancellationToken) As Task(Of Stream) Implements IStreamImageSource.GetStreamAsync

Parameters

userToken
CancellationToken

Returns

Implements

Applies to