Share via


SendFileFallback.SendFileAsync 메서드

정의

파일의 세그먼트를 대상 스트림에 복사합니다.

public:
 static System::Threading::Tasks::Task ^ SendFileAsync(System::IO::Stream ^ destination, System::String ^ filePath, long offset, Nullable<long> count, System::Threading::CancellationToken cancellationToken);
public static System.Threading.Tasks.Task SendFileAsync (System.IO.Stream destination, string filePath, long offset, long? count, System.Threading.CancellationToken cancellationToken);
static member SendFileAsync : System.IO.Stream * string * int64 * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function SendFileAsync (destination As Stream, filePath As String, offset As Long, count As Nullable(Of Long), cancellationToken As CancellationToken) As Task

매개 변수

destination
Stream

파일 세그먼트를 쓸 스트림입니다.

filePath
String

파일의 전체 디스크 경로입니다.

offset
Int64

시작할 파일의 오프셋입니다.

count
Nullable<Int64>

보낼 바이트 수 또는 파일의 나머지를 보낼 null입니다.

cancellationToken
CancellationToken

CancellationToken 전송을 중단하는 데 사용되는 입니다.

반환

적용 대상