次の方法で共有


CallingServerClient.DownloadStreaming メソッド

定義

操作により DownloadStreaming(Uri, HttpRange, CancellationToken) 、記録のコンテンツがダウンロードされます。

public virtual Azure.Response<System.IO.Stream> DownloadStreaming (Uri sourceEndpoint, Azure.HttpRange range = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadStreaming : Uri * Azure.HttpRange * System.Threading.CancellationToken -> Azure.Response<System.IO.Stream>
override this.DownloadStreaming : Uri * Azure.HttpRange * System.Threading.CancellationToken -> Azure.Response<System.IO.Stream>
Public Overridable Function DownloadStreaming (sourceEndpoint As Uri, Optional range As HttpRange = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Stream)

パラメーター

sourceEndpoint
Uri

記録のコンテンツの URL の場所。

range
HttpRange

指定した場合は、指定した範囲内のコンテンツのバイトのみをダウンロードします。 指定されていない場合は、コンテンツ全体をダウンロードします。

cancellationToken
CancellationToken

操作を取り消す必要がある通知を伝達する場合は省略可能 CancellationToken です。

戻り値

Response<T>ダウンロードしたコンテンツを格納している 。

注釈

RequestFailedExceptionエラーが発生すると、 がスローされます。

適用対象