ComponentRegistrationFailedException Constructor (String, Exception)
Microsoft internal use only.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public ComponentRegistrationFailedException(
string message,
Exception innerException
)
public:
ComponentRegistrationFailedException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> ComponentRegistrationFailedException
public function ComponentRegistrationFailedException(
message : String,
innerException : Exception
)
Parameters
message
Type: StringThe 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: ExceptionThe 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