LauncherOptions.TreatAsUntrusted 속성

정의

파일 또는 URI와 연결된 앱을 시작할 때 시스템에서 파일 또는 URI가 안전하지 않을 수 있다는 경고를 표시해야 하는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool TreatAsUntrusted { bool get(); void set(bool value); };
bool TreatAsUntrusted();

void TreatAsUntrusted(bool value);
public bool TreatAsUntrusted { get; set; }
var boolean = launcherOptions.treatAsUntrusted;
launcherOptions.treatAsUntrusted = boolean;
Public Property TreatAsUntrusted As Boolean

속성 값

Boolean

bool

True이면 경고가 표시되어야 합니다. 그렇지 않으면 false입니다.

예제

Launcher.LaunchUriAsync(Uri, LauncherOptions) 항목의 코드 예제를 참조하세요.

설명

중요

이 속성은 데스크톱 디바이스에서만 구현됩니다.

적용 대상

추가 정보