RightsManagementException Constructor (RightsManagementFailureCode, String^)
.NET Framework (current version)
Initializes a new instance of the RightsManagementException class with a given RightsManagementFailureCode and Message.
Assembly: WindowsBase (in WindowsBase.dll)
public:
RightsManagementException(
RightsManagementFailureCode failureCode,
String^ message
)
Parameters
- failureCode
-
Type:
System.Security.RightsManagement::RightsManagementFailureCode
The failure code for the error.
- message
-
Type:
System::String^
A message that describes the error.
The following example shows use of the FailureCode and Message properties to create an error message for the user.
.NET Framework
Available since 3.0
Available since 3.0
Show: