IPolicyProfile.AddEngineAsync(PolicyEngineSettings) 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 policy engine to the profile.
public System.Threading.Tasks.Task<Microsoft.InformationProtection.Policy.IPolicyEngine> AddEngineAsync (Microsoft.InformationProtection.Policy.PolicyEngineSettings settings);
abstract member AddEngineAsync : Microsoft.InformationProtection.Policy.PolicyEngineSettings -> System.Threading.Tasks.Task<Microsoft.InformationProtection.Policy.IPolicyEngine>
Public Function AddEngineAsync (settings As PolicyEngineSettings) As Task(Of IPolicyEngine)
Parameters
- settings
- PolicyEngineSettings
the settings object that specifies the engines parameters.
Returns
A task that represents the asynchronous add engine operation. The value of the TResult
parameter contains the IPolicyEngine
.