MessageQueueServiceExtensions.SendBuildMachineRequest Method
Namespace: Microsoft.TeamFoundation.Build.Hosted.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Sub SendBuildMachineRequest ( _
source As TeamFoundationMessageQueueService, _
requestContext As TeamFoundationRequestContext, _
queueName As String, _
request As BuildMachineRequest _
)
public static void SendBuildMachineRequest(
this TeamFoundationMessageQueueService source,
TeamFoundationRequestContext requestContext,
string queueName,
BuildMachineRequest request
)
[ExtensionAttribute]
public:
static void SendBuildMachineRequest(
TeamFoundationMessageQueueService^ source,
TeamFoundationRequestContext^ requestContext,
String^ queueName,
BuildMachineRequest^ request
)
static member SendBuildMachineRequest :
source:TeamFoundationMessageQueueService *
requestContext:TeamFoundationRequestContext *
queueName:string *
request:BuildMachineRequest -> unit
public static function SendBuildMachineRequest(
source : TeamFoundationMessageQueueService,
requestContext : TeamFoundationRequestContext,
queueName : String,
request : BuildMachineRequest
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- queueName
Type: System.String
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.