Condividi tramite


RoleInstanceStatusCheckEventArgs.SetBusy Method ()

 

Sets the status of the role instance to Busy until the status is checked again, which occurs at regular intervals. When the status of the role instance is Busy it will not receive requests from the load balancer.

Namespace:   Microsoft.WindowsAzure.ServiceRuntime
Assembly:  Microsoft.WindowsAzure.ServiceRuntime (in Microsoft.WindowsAzure.ServiceRuntime.dll)

Syntax

public void SetBusy()
public:
void SetBusy()
member SetBusy : unit -> unit
Public Sub SetBusy

Remarks

When you call the SetBusy method, the status of the instance remains Busy until the status is checked again.

See Also

RoleInstanceStatusCheckEventArgs Class
Microsoft.WindowsAzure.ServiceRuntime Namespace

Return to top