CreateWorkItemException Constructor (String, Exception)
Initializes a new instance of the CreateWorkItemException class with the specified message and inner exception.
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public CreateWorkItemException(
string message,
Exception innerException
)
public:
CreateWorkItemException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> CreateWorkItemException
public function CreateWorkItemException(
message : String,
innerException : Exception
)
Parameters
message
Type: System.StringA user-readable message describing the error.
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.
See Also
Reference
CreateWorkItemException Overload
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace