Bluetooth Framework C++ Edition

◆ GetError()

int GetError ( ) const

Gets the service's publishing result code.

Returns
One of WCL errors code indicates the publishing result.

If publishing the service was failed this property contains the failure reason code.