VpnForegroundActivatedEventArgs 클래스

정의

VPN 앱이 포그라운드에서 활성화 될 때 Activated 이벤트( Application.OnActivated 참조)와 함께 전달된 인수입니다.

public ref class VpnForegroundActivatedEventArgs sealed : IActivatedEventArgsWithUser
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VpnForegroundActivatedEventArgs final : IActivatedEventArgsWithUser
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VpnForegroundActivatedEventArgs : IActivatedEventArgsWithUser
Public NotInheritable Class VpnForegroundActivatedEventArgs
Implements IActivatedEventArgsWithUser
상속
Object Platform::Object IInspectable VpnForegroundActivatedEventArgs
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 11 (10.0.22000.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v14.0에서 도입되었습니다.)
앱 기능
networkingVpnProvider

속성

ActivationOperation

VPN 포그라운드 작업을 나타내는 개체를 가져옵니다.

포그라운드 작업 처리가 완료되면 이 VpnForegroundActivationOperation 개체의 Complete 메서드를 호출하여 IVpnPlugin.Connect 호출에 반환할 값의 ValueSet을 전달해야 합니다. VpnChannel.ActivateForeground를 참조하세요.

Kind

이 앱이 활성화되는 이유를 가져옵니다.

PreviousExecutionState

이 활성화 전에 앱이 있었던 실행 상태를 가져옵니다.

ProfileName

활성 상태인 VPN 프로필의 이름을 가져옵니다.

SharedContext

VPN 포그라운드 앱을 활성화할 때 VPN 플러그 인이 제공한 값 집합을 가져옵니다. VpnChannel.ActivateForeground를 참조하세요.

SplashScreen

시작 화면에서 활성화된 앱으로의 전환에 대한 정보를 제공하는 시작 화면 개체를 가져옵니다.

User

앱이 활성화된 사용자를 가져옵니다. 또한 IActivatedEventArgsWithUser.User를 참조하세요.

적용 대상