共用方式為


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.String

    A user-readable message describing the error.

  • innerException
    Type: System.Exception

    The exception that caused this exception.

.NET Framework Security

See Also

Reference

CreateWorkItemException Class

CreateWorkItemException Overload

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace