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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- queueName
Type: System.String
- machinePool
Type: Microsoft.TeamFoundation.Build.Hosted.Server.MachinePool
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
- 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.