Back to product page

ServiceRegister event


Fires when result is received for service register attempt.

Syntax

  • Basic
Private Sub object_ServiceRegister (ByRef Service, ByVal success, ByVal Instructions)
The ServiceRegister(Service,success,Instructions) syntax has these parts:
ServiceXMPPService object
successA Boolean value. Provides the result of registration attempt.
InstructionsA String value. Allows you to provide any additional instructions.

Remarks

Fired each time an attempt to register some service is made. This Event is also triggered as a result of executing RegisterInfo method for some specific Service. Using provided arguments you can determine if further steps are required in registration. For example, if Success is set to False you may review value of Instructions argument to see what do you need to provide in order to register the service successfully.

Platforms

Windows