Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.Int32- The reservation ID. 
- reservedAgentUri 
 Type: System.Uri- The 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.