PcwException Constructor (String, Exception)
Initializes a new instance of the PcwException class by using the specified message and inner exception.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Декларация
Public Sub New ( _
message As String, _
innerException As Exception _
)
public PcwException(
string message,
Exception innerException
)
public:
PcwException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> PcwException
public function PcwException(
message : String,
innerException : Exception
)
Parameters
- message
Type: System.String
A user-readable message that describes 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.