DownloadOperation.RequestedUri 속성

정의

파일을 다운로드할 URI를 가져옵니다.

public:
 property Uri ^ RequestedUri { Uri ^ get(); };
public:
 property Uri ^ RequestedUri { Uri ^ get(); void set(Uri ^ value); };
Uri RequestedUri();
Uri RequestedUri();

void RequestedUri(Uri value);
public System.Uri RequestedUri { get; }
public System.Uri RequestedUri { get; set; }
var uri = downloadOperation.requestedUri;
var uri = downloadOperation.requestedUri;
downloadOperation.requestedUri = uri;
Public ReadOnly Property RequestedUri As Uri
Public Property RequestedUri As Uri

속성 값

다운로드할 URI입니다.

구현

설명

복구 가능한 오류(PausedRecoverableWebErrorStatus)에 도달했거나 앱에서 명시적으로 일시 중지한 전송에 대해 에서 URI를 업데이트할 수 있습니다(PausedByApplication). URI가 업데이트되면 앱은 DownloadOperation.Resume 을 호출하여 다시 시도를 시작해야 합니다.

OS 제한으로 인해 임의 액세스 모드로 옵트인하지 않는 다운로드는 URL이 업데이트될 때마다 항상 처음부터 다시 시작됩니다. 임의 액세스 모드를 옵트인하려면 DownloadOperation.IsRandomAccessRequired 를 true로 설정합니다. 이러한 방식으로 구성된 전송은 다시 실행 가능한 URL 업데이트를 완벽하게 지원합니다. 업데이트된 URL의 타임스탬프 또는 파일 크기가 이전 URL과 다른 경우 다운로드가 처음부터 다시 시작됩니다. 그렇지 않으면 새 URL을 사용하여 동일한 위치에서 전송이 다시 시작됩니다.

적용 대상

추가 정보