Delen via


OperationCanceledException Constructor (String, Exception)

Initializes a new instance of the OperationCanceledException with the specified message and inner exception.

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public OperationCanceledException(
    string message,
    Exception innerException
)
public:
OperationCanceledException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> OperationCanceledException
public function OperationCanceledException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: System.String

    A human readable message that describes the exception.

  • innerException
    Type: System.Exception

    The exception that caused this exception.

.NET Framework Security

See Also

Reference

OperationCanceledException Class

OperationCanceledException Overload

Microsoft.TeamFoundation Namespace