MIP.LoadProtectionProfileAsync(ProtectionProfileSettings) 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 loading a profile based on the provided settings.
public static System.Threading.Tasks.Task<Microsoft.InformationProtection.Protection.IProtectionProfile> LoadProtectionProfileAsync (Microsoft.InformationProtection.Protection.ProtectionProfileSettings profileSettings);
static member LoadProtectionProfileAsync : Microsoft.InformationProtection.Protection.ProtectionProfileSettings -> System.Threading.Tasks.Task<Microsoft.InformationProtection.Protection.IProtectionProfile>
Public Shared Function LoadProtectionProfileAsync (profileSettings As ProtectionProfileSettings) As Task(Of IProtectionProfile)
Parameters
- profileSettings
- ProtectionProfileSettings
Settings used by ProtectionProfile during its initialization and throughout its lifetime
Returns
A task that represents the asynchronous load operation. The value of the TResult
parameter contains the IProtectionProfile
.