IProtectionEngine.CreateProtectionHandlerForConsumptionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.