Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Begins an asynchronous operation which acknowledges all messages which are inclusive to the ranges provided.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function BeginAcknowledge ( _
requestContext As TeamFoundationRequestContext, _
queueName As String, _
sessionId As Guid, _
ranges As IList(Of AcknowledgementRange), _
timeout As TimeSpan, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
public IAsyncResult BeginAcknowledge(
TeamFoundationRequestContext requestContext,
string queueName,
Guid sessionId,
IList<AcknowledgementRange> ranges,
TimeSpan timeout,
AsyncCallback callback,
Object state
)
public:
IAsyncResult^ BeginAcknowledge(
TeamFoundationRequestContext^ requestContext,
String^ queueName,
Guid sessionId,
IList<AcknowledgementRange^>^ ranges,
TimeSpan timeout,
AsyncCallback^ callback,
Object^ state
)
member BeginAcknowledge :
requestContext:TeamFoundationRequestContext *
queueName:string *
sessionId:Guid *
ranges:IList<AcknowledgementRange> *
timeout:TimeSpan *
callback:AsyncCallback *
state:Object -> IAsyncResult
public function BeginAcknowledge(
requestContext : TeamFoundationRequestContext,
queueName : String,
sessionId : Guid,
ranges : IList<AcknowledgementRange>,
timeout : TimeSpan,
callback : AsyncCallback,
state : Object
) : IAsyncResult
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
queueName
Type: System.StringThe queue identifier
sessionId
Type: System.GuidThe session identifier
ranges
Type: System.Collections.Generic.IList<AcknowledgementRange>The inclusive ranges of message identifiers which should be acknowledged
timeout
Type: System.TimeSpanThe System.TimeSpan that specifies the interval of time to wait for an item to become available.
callback
Type: System.AsyncCallbackThe System.AsyncCallback delegate that receives notification that the operation is finished.
state
Type: System.ObjectAn object, specified by the caller, that contains state information associated with the asynchronous operation.
Return Value
Type: System.IAsyncResult
An asynchronous operation to acknowledge messages
.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.