TfsMessageQueue.BeginClose Method (TimeSpan, AsyncCallback, Object)
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function BeginClose ( _
timeout As TimeSpan, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
public IAsyncResult BeginClose(
TimeSpan timeout,
AsyncCallback callback,
Object state
)
public:
IAsyncResult^ BeginClose(
TimeSpan timeout,
AsyncCallback^ callback,
Object^ state
)
member BeginClose :
timeout:TimeSpan *
callback:AsyncCallback *
state:Object -> IAsyncResult
public function BeginClose(
timeout : TimeSpan,
callback : AsyncCallback,
state : Object
) : IAsyncResult
Parameters
- timeout
Type: System.TimeSpan
- callback
Type: System.AsyncCallback
- state
Type: System.Object
Return Value
Type: System.IAsyncResult
Returns IAsyncResult.
.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.