SubscriptionSetState Method |
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public void SetState(
SubscriptionState newState,
Nullable<TerminationReason> reason = null,
bool raiseEvent = true
)
Public Sub SetState (
newState As SubscriptionState,
Optional reason As Nullable(Of TerminationReason) = Nothing,
Optional raiseEvent As Boolean = true
)
public:
void SetState(
SubscriptionState newState,
Nullable<TerminationReason> reason = nullptr,
bool raiseEvent = true
)
member SetState :
newState : SubscriptionState *
?reason : Nullable<TerminationReason> *
?raiseEvent : bool
(* Defaults:
let _reason = defaultArg reason null
let _raiseEvent = defaultArg raiseEvent true
*)
-> unit
Parameters
- newState
- Type: Ozeki.VoIPSubscriptionState
- reason (Optional)
- Type: SystemNullableTerminationReason
- raiseEvent (Optional)
- Type: SystemBoolean
See Also