IProtectionProfile.AddEngineAsync(ProtectionEngineSettings) 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 adding a new protection engine to the profile.
public System.Threading.Tasks.Task<Microsoft.InformationProtection.Protection.IProtectionEngine> AddEngineAsync (Microsoft.InformationProtection.Protection.ProtectionEngineSettings settings);
abstract member AddEngineAsync : Microsoft.InformationProtection.Protection.ProtectionEngineSettings -> System.Threading.Tasks.Task<Microsoft.InformationProtection.Protection.IProtectionEngine>
Public Function AddEngineAsync (settings As ProtectionEngineSettings) As Task(Of IProtectionEngine)
Parameters
- settings
- ProtectionEngineSettings
The protection engine settings.
Returns
A task that represents the asynchronous add engine operation. The value of the TResult
parameter contains the IProtectionEngine
.