SubscriptionStateExIsActive Method |
Returns a boolean value indicating whether the subscription is in active state (neutral, active, etc.) and notifications can be received.
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static bool IsActive(
this SubscriptionState state
)
<ExtensionAttribute>
Public Shared Function IsActive (
state As SubscriptionState
) As Boolean
public:
[ExtensionAttribute]
static bool IsActive(
SubscriptionState state
)
[<ExtensionAttribute>]
static member IsActive :
state : SubscriptionState -> bool
Parameters
- state
- Type: Ozeki.VoIPSubscriptionState
The subscription state.
Return Value
Type:
BooleanTrue, if the subscription is active; otherwise false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SubscriptionState. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also