ProtectedAccessSuspendingEventArgs Class

Definition

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Provides data when content protection is being suspended.

public ref class ProtectedAccessSuspendingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.EnterpriseData.EnterpriseDataContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ProtectedAccessSuspendingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.EnterpriseData.EnterpriseDataContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ProtectedAccessSuspendingEventArgs
Public NotInheritable Class ProtectedAccessSuspendingEventArgs
Inheritance
Object IInspectable ProtectedAccessSuspendingEventArgs
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced in v1.0)

Remarks

This object is accessed when you implement an event handler for the ProtectionPolicyManager.ProtectedAccessSuspending event.

Properties

Deadline

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

DateTime at which content protection will be suspended. The app can subtract DateTime.Now from this value to determine how much time there is to perform any processing before the suspension occurs.

Identities

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Contains the enterprise identities for which content protection is being suspended.

Methods

GetDeferral()

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Gets the Deferral object that manages the protection suspension. The app must call Deferral.Complete before it returns from the event handler.

Applies to