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
'Déclaration
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
- 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.
- innerException
Type: System.Exception
The exception that caused this 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.