ComponentRegistrationFailedException Constructor
Initializes a new instance of the ComponentRegistrationFailedException class with a system-supplied message that describes the error.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Dichiarazione
Public Sub New
'Utilizzo
Dim instance As New ComponentRegistrationFailedException()
public ComponentRegistrationFailedException()
public:
ComponentRegistrationFailedException()
new : unit -> ComponentRegistrationFailedException
public function ComponentRegistrationFailedException()
Remarks
This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply" This message takes into account the current system culture.
The following table shows the initial property values for an instance of InsufficientMemoryException.
Property |
Value |
---|---|
nulla null reference (Nothing in Visual Basic). |
|
The localized error message string. |
.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