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
声明
Public Sub New ( _
    error As String, _
    explanation As String, _
    userAction As String _
)
public PcwException(
    string error,
    string explanation,
    string userAction
)
public:
PcwException(
    String^ error, 
    String^ explanation, 
    String^ userAction
)
new : 
        error:string * 
        explanation:string * 
        userAction:string -> PcwException
public function PcwException(
    error : String, 
    explanation : String, 
    userAction : String
)
Parameters
- error
Type: System.String
The title of the error. 
- explanation
Type: System.String
An explanation of the error. 
- userAction
Type: System.String
Action that the user must take to resolve the error. 
.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.