Share via


MessageQueueServiceExtensions.UpdateMachinePoolSettings Method

Namespace:  Microsoft.TeamFoundation.Build.Hosted.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub UpdateMachinePoolSettings ( _
    source As TeamFoundationMessageQueueService, _
    requestContext As TeamFoundationRequestContext, _
    queueName As String, _
    machinePool As MachinePool _
)
public static void UpdateMachinePoolSettings(
    this TeamFoundationMessageQueueService source,
    TeamFoundationRequestContext requestContext,
    string queueName,
    MachinePool machinePool
)
[ExtensionAttribute]
public:
static void UpdateMachinePoolSettings(
    TeamFoundationMessageQueueService^ source, 
    TeamFoundationRequestContext^ requestContext, 
    String^ queueName, 
    MachinePool^ machinePool
)
static member UpdateMachinePoolSettings : 
        source:TeamFoundationMessageQueueService * 
        requestContext:TeamFoundationRequestContext * 
        queueName:string * 
        machinePool:MachinePool -> unit
public static function UpdateMachinePoolSettings(
    source : TeamFoundationMessageQueueService, 
    requestContext : TeamFoundationRequestContext, 
    queueName : String, 
    machinePool : MachinePool
)

Parameters

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TeamFoundationMessageQueueService. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

MessageQueueServiceExtensions Class

Microsoft.TeamFoundation.Build.Hosted.Server Namespace