Additional Reference (Service Broker)
Windows applications that are built on the .NET Framework and PowerShell scripts can use the Service Broker namespace in SMO to manage Service Broker objects. For more information, see Microsoft.SqlServer.Management.Smo.Broker.
Service Broker errors can be formatted by using the same Exception Message Box Class Library as other Database Engine errors. For more information, see Microsoft.SqlServer.MessageBox.