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
error
Type: System.StringThe title of the error.
explanation
Type: System.StringAn explanation of the error.
userAction
Type: System.StringAction that the user must take to resolve the error.
helpTopic
Type: System.StringA link to a relevant help topic.
innerException
Type: System.ExceptionThe 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.