RegisterManagerSetState Method |
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public RegistrationStateChangedArgs SetState(
RegState state,
int statusCode = 0,
string reason = null,
RegError error = RegError.NoError
)
Public Function SetState (
state As RegState,
Optional statusCode As Integer = 0,
Optional reason As String = Nothing,
Optional error As RegError = RegError.NoError
) As RegistrationStateChangedArgs
public:
RegistrationStateChangedArgs^ SetState(
RegState state,
int statusCode = 0,
String^ reason = nullptr,
RegError error = RegError::NoError
)
member SetState :
state : RegState *
?statusCode : int *
?reason : string *
?error : RegError
(* Defaults:
let _statusCode = defaultArg statusCode 0
let _reason = defaultArg reason null
let _error = defaultArg error RegError.NoError
*)
-> RegistrationStateChangedArgs
Parameters
- state
- Type: Ozeki.VoIPRegState
- statusCode (Optional)
- Type: SystemInt32
- reason (Optional)
- Type: SystemString
- error (Optional)
- Type: Ozeki.VoIPRegError
Return Value
Type:
RegistrationStateChangedArgsSee Also