ComponentRevocationFailedException Constructor (String)

Initializes a new instance of the ComponentRevocationFailedException 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

‘선언
Public Sub New ( _
    message As String _
)
‘사용 방법
Dim message As String

Dim instance As New ComponentRevocationFailedException(message)
public ComponentRevocationFailedException(
    string message
)
public:
ComponentRevocationFailedException(
    String^ message
)
new : 
        message:string -> ComponentRevocationFailedException
public function ComponentRevocationFailedException(
    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 ComponentRevocationFailedException.

Property

Value

InnerException

nulla null reference (Nothing in Visual Basic).

Message

The error message string specified in message.

.NET Framework Security

See Also

Reference

ComponentRevocationFailedException Class

ComponentRevocationFailedException Members

ComponentRevocationFailedException Overload

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace

Other Resources

Handling and Throwing Exceptions