Share via


UnregisterPublisher Method (IModelBusPublisher)

Unregisters a publisher from all publishing topics. This is useful in the case where the caller cannot get access to the topic. Note that even if a publisher is unregistered, a message may be force-published (OnDemandMessage) if the same publisher was registered immediately beforehand.

Namespace:  Microsoft.VisualStudio.Data.Tools.Package.ModelBus
Assembly:  Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)

Syntax

'Declaration
Sub UnregisterPublisher ( _
    publisher As IModelBusPublisher _
)
'Usage
Dim instance As IModelBusService
Dim publisher As IModelBusPublisher

instance.UnregisterPublisher(publisher)
void UnregisterPublisher(
    IModelBusPublisher publisher
)
void UnregisterPublisher(
    IModelBusPublisher^ publisher
)
abstract UnregisterPublisher : 
        publisher:IModelBusPublisher -> unit 
function UnregisterPublisher(
    publisher : IModelBusPublisher
)

Parameters

See Also

Reference

IModelBusService Interface

UnregisterPublisher Overload

Microsoft.VisualStudio.Data.Tools.Package.ModelBus Namespace