Compartilhar via


PcwException Constructor (String, String, String, Exception)

Initializes a new instance of the PcwException class by using the specified error information.

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

Syntax

'Declaração
Public Sub New ( _
    error As String, _
    explanation As String, _
    userAction As String, _
    innerException As Exception _
)
public PcwException(
    string error,
    string explanation,
    string userAction,
    Exception innerException
)
public:
PcwException(
    String^ error, 
    String^ explanation, 
    String^ userAction, 
    Exception^ innerException
)
new : 
        error:string * 
        explanation:string * 
        userAction:string * 
        innerException:Exception -> PcwException
public function PcwException(
    error : String, 
    explanation : String, 
    userAction : 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