TeamFoundationRequestContext.Cancel Method (String, TimeSpan)
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Декларация
Public Overridable Sub Cancel ( _
reason As String, _
timeout As TimeSpan _
)
public virtual void Cancel(
string reason,
TimeSpan timeout
)
public:
virtual void Cancel(
String^ reason,
TimeSpan timeout
)
abstract Cancel :
reason:string *
timeout:TimeSpan -> unit
override Cancel :
reason:string *
timeout:TimeSpan -> unit
public function Cancel(
reason : String,
timeout : TimeSpan
)
Parameters
- reason
Type: System.String
- timeout
Type: System.TimeSpan
.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.