ComponentRegistrationFailedException Constructor (String, Exception)
Microsoft internal use only.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Sub New ( _
message As String, _
innerException As Exception _
)
public ComponentRegistrationFailedException(
string message,
Exception innerException
)
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.
- innerException
Type: System.Exception
The exception that is the cause of the current exception. If the innerException parameter is not nulla null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.
.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 Overload
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace