ComponentRegistrationFailedException Constructor (String)
Initializes a new instance of the ComponentRegistrationFailedException class with a specified message that describes the error.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub New ( _
message As String _
)
'Utilisation
Dim message As String
Dim instance As New ComponentRegistrationFailedException(message)
public ComponentRegistrationFailedException(
string message
)
public:
ComponentRegistrationFailedException(
String^ message
)
new :
message:string -> ComponentRegistrationFailedException
public function ComponentRegistrationFailedException(
message : String
)
Parameters
- message
Type: System.String
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Remarks
The following table shows the initial property values for an instance of ComponentRegistrationFailedException.
Property |
Value |
---|---|
nulla null reference (Nothing in Visual Basic). |
|
The error message string specified in message. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ComponentRegistrationFailedException Class
ComponentRegistrationFailedException Members
ComponentRegistrationFailedException Overload
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace