Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

LicenseException Constructor (Type, Object, String)

Initializes a new instance of the LicenseException class for the type and the instance of the component that was denied a license, along with a message to display.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

public LicenseException(
	Type type,
	Object instance,
	string message
)

Parameters

type
Type: System.Type

A Type that represents the type of component that was not granted a license.

instance
Type: System.Object

The instance of the component that was not granted a license.

message
Type: System.String

The exception message to display.

.NET Framework

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

.NET Framework Client Profile

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