Partager via


PcwException Constructor (String, String, String, String, Exception)

Initializes a new instance of the PcwException class.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    error As String, _
    explanation As String, _
    userAction As String, _
    helpTopic As String, _
    innerException As Exception _
)
public PcwException(
    string error,
    string explanation,
    string userAction,
    string helpTopic,
    Exception innerException
)
public:
PcwException(
    String^ error, 
    String^ explanation, 
    String^ userAction, 
    String^ helpTopic, 
    Exception^ innerException
)
new : 
        error:string * 
        explanation:string * 
        userAction:string * 
        helpTopic:string * 
        innerException:Exception -> PcwException
public function PcwException(
    error : String, 
    explanation : String, 
    userAction : String, 
    helpTopic : String, 
    innerException : Exception
)

Parameters

  • userAction
    Type: System.String

    Action that the user must take to resolve the error.

  • innerException
    Type: System.Exception

    The exception that caused this exception.

.NET Framework Security

See Also

Reference

PcwException Class

PcwException Overload

Microsoft.TeamFoundation.Client Namespace