Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RightsManagementException Constructor (RightsManagementFailureCode, Exception^)

 

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

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

public:
RightsManagementException(
	RightsManagementFailureCode failureCode,
	Exception^ innerException
)

Parameters

failureCode
Type: System.Security.RightsManagement::RightsManagementFailureCode

The failure code for the error.

innerException
Type: System::Exception^

The exception instance that caused the error.

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

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft