IProtectionEngine.CreateProtectionHandlerForConsumptionAsync Method

Definition

Starts creating a protection handler where rights/roles are assigned to specific users.

public System.Threading.Tasks.Task<Microsoft.InformationProtection.Protection.IProtectionHandler> CreateProtectionHandlerForConsumptionAsync (Microsoft.InformationProtection.Protection.ConsumptionSettings settings);
abstract member CreateProtectionHandlerForConsumptionAsync : Microsoft.InformationProtection.Protection.ConsumptionSettings -> System.Threading.Tasks.Task<Microsoft.InformationProtection.Protection.IProtectionHandler>
Public Function CreateProtectionHandlerForConsumptionAsync (settings As ConsumptionSettings) As Task(Of IProtectionHandler)

Parameters

settings
ConsumptionSettings

Protection settings.

Returns

A task that represents the asynchronous create operation. The value of the TResult parameter contains IProtectionHandler.

Applies to