AgentReservationCompletedEventArgs Constructor
Initalizes a new instance of the AgentReservationCompletedEventArgs class.
Namespace: Microsoft.TeamFoundation.Build.Workflow.Services
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public Sub New ( _
reservationId As Integer, _
reservedAgentUri As Uri _
)
public AgentReservationCompletedEventArgs(
int reservationId,
Uri reservedAgentUri
)
public:
AgentReservationCompletedEventArgs(
int reservationId,
Uri^ reservedAgentUri
)
new :
reservationId:int *
reservedAgentUri:Uri -> AgentReservationCompletedEventArgs
public function AgentReservationCompletedEventArgs(
reservationId : int,
reservedAgentUri : Uri
)
Parameters
reservationId
Type: System.Int32The reservation ID.
reservedAgentUri
Type: System.UriThe URI of the reserved agent.
.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.