共用方式為


MessageQueueWebService2 Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.WebServices.MessageQueueWebService2

Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<AspNetCompatibilityRequirementsAttribute(RequirementsMode := AspNetCompatibilityRequirementsMode.Required)> _
<ServiceBehaviorAttribute(AddressFilterMode := AddressFilterMode.Any, ConcurrencyMode := ConcurrencyMode.Multiple,  _
    IncludeExceptionDetailInFaults := True, InstanceContextMode := InstanceContextMode.PerCall,  _
    UseSynchronizationContext := False)> _
<ServiceContractAttribute(Name := "MessageQueueService", Namespace := "https://schemas.microsoft.com/2010/TeamFoundation/Framework/MessageQueue/2")> _
Public NotInheritable Class MessageQueueWebService2
[AspNetCompatibilityRequirementsAttribute(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
[ServiceBehaviorAttribute(AddressFilterMode = AddressFilterMode.Any, ConcurrencyMode = ConcurrencyMode.Multiple, 
    IncludeExceptionDetailInFaults = true, InstanceContextMode = InstanceContextMode.PerCall, 
    UseSynchronizationContext = false)]
[ServiceContractAttribute(Name = "MessageQueueService", Namespace = "https://schemas.microsoft.com/2010/TeamFoundation/Framework/MessageQueue/2")]
public sealed class MessageQueueWebService2
[AspNetCompatibilityRequirementsAttribute(RequirementsMode = AspNetCompatibilityRequirementsMode::Required)]
[ServiceBehaviorAttribute(AddressFilterMode = AddressFilterMode::Any, ConcurrencyMode = ConcurrencyMode::Multiple, 
    IncludeExceptionDetailInFaults = true, InstanceContextMode = InstanceContextMode::PerCall, 
    UseSynchronizationContext = false)]
[ServiceContractAttribute(Name = L"MessageQueueService", Namespace = L"https://schemas.microsoft.com/2010/TeamFoundation/Framework/MessageQueue/2")]
public ref class MessageQueueWebService2 sealed
[<Sealed>]
[<AspNetCompatibilityRequirementsAttribute(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)>]
[<ServiceBehaviorAttribute(AddressFilterMode = AddressFilterMode.Any, ConcurrencyMode = ConcurrencyMode.Multiple, 
    IncludeExceptionDetailInFaults = true, InstanceContextMode = InstanceContextMode.PerCall, 
    UseSynchronizationContext = false)>]
[<ServiceContractAttribute(Name = "MessageQueueService", Namespace = "https://schemas.microsoft.com/2010/TeamFoundation/Framework/MessageQueue/2")>]
type MessageQueueWebService2 =  class end
public final class MessageQueueWebService2

The MessageQueueWebService2 type exposes the following members.

Constructors

  Name Description
Public method MessageQueueWebService2

Top

Properties

  Name Description
Public property QueueService Gets the message queue service for this instance.
Public property RequestContext Gets the request context for this instance.

Top

Methods

  Name Description
Public method BeginAcknowledge
Public method BeginDequeue
Public method EndAcknowledge
Public method EndDequeue
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Server.Core.WebServices Namespace