Export (0) Print
Expand All

RightsManagementException Constructor (RightsManagementFailureCode)

Initializes a new instance of the RightsManagementException class with a given RightsManagementFailureCode.

Namespace:  System.Security.RightsManagement
Assembly:  WindowsBase (in WindowsBase.dll)

new : 
        failureCode:RightsManagementFailureCode -> RightsManagementException

Parameters

failureCode
Type: System.Security.RightsManagement.RightsManagementFailureCode

The failure code for the error.

The following example shows use of the FailureCode property to create an error message for the user.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft