ref_service


Description:

[ Version ( since = "3.6" ) ]
public Service? ref_service (string uid)

Looks up a Service by its unique identifier string.

The service must have been previously added using add_service.

The returned Service is referenced for thread-safety and must be unreferenced with unref when finished with it.

Parameters:

this

a Session

uid

a unique identifier string

Returns:

a Service instance, or null