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.StringA human readable message that describes the exception.
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
OperationCanceledException Class