Share via


ICtiAgentStateManager.SetUnavailable(String) Method

Definition

Sets the agent state for the ID of the current agent to unavailable.

public:
 bool SetUnavailable(System::String ^ reasonCode);
public bool SetUnavailable (string reasonCode);
abstract member SetUnavailable : string -> bool
Public Function SetUnavailable (reasonCode As String) As Boolean

Parameters

reasonCode
String

Specifies the reason code for unavailable. Can be empty.

Returns

True if the state is successfully set, otherwise false.

Applies to