TeamFoundationMessageQueueService.BeginAcknowledge Method (TeamFoundationRequestContext, String, Guid, IList<AcknowledgementRange>, MessageHeaders, TimeSpan, AsyncCallback, Object)
Namespace: Microsoft.TeamFoundation.Framework.Server.Alm
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), _
headers As MessageHeaders, _
timeout As TimeSpan, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
public IAsyncResult BeginAcknowledge(
TeamFoundationRequestContext requestContext,
string queueName,
Guid sessionId,
IList<AcknowledgementRange> ranges,
MessageHeaders headers,
TimeSpan timeout,
AsyncCallback callback,
Object state
)
public:
IAsyncResult^ BeginAcknowledge(
TeamFoundationRequestContext^ requestContext,
String^ queueName,
Guid sessionId,
IList<AcknowledgementRange^>^ ranges,
MessageHeaders^ headers,
TimeSpan timeout,
AsyncCallback^ callback,
Object^ state
)
member BeginAcknowledge :
requestContext:TeamFoundationRequestContext *
queueName:string *
sessionId:Guid *
ranges:IList<AcknowledgementRange> *
headers:MessageHeaders *
timeout:TimeSpan *
callback:AsyncCallback *
state:Object -> IAsyncResult
public function BeginAcknowledge(
requestContext : TeamFoundationRequestContext,
queueName : String,
sessionId : Guid,
ranges : IList<AcknowledgementRange>,
headers : MessageHeaders,
timeout : TimeSpan,
callback : AsyncCallback,
state : Object
) : IAsyncResult
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- queueName
Type: System.String
- sessionId
Type: System.Guid
- ranges
Type: System.Collections.Generic.IList<AcknowledgementRange>
- headers
Type: System.ServiceModel.Channels.MessageHeaders
- timeout
Type: System.TimeSpan
- callback
Type: System.AsyncCallback
- state
Type: System.Object
Return Value
Type: System.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.