EventPublicationAttribute Constructor (String, PublicationScope)
Declares an event publication for an EventTopic with the specified topic and PublicationScope.
Namespace: Microsoft.Practices.CompositeUI.EventBroker
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Public Sub New ( _
topic As String, _
scope As PublicationScope _
)
'Usage
Dim topic As String
Dim scope As PublicationScope
Dim instance As New EventPublicationAttribute(topic, scope)
public EventPublicationAttribute (
string topic,
PublicationScope scope
)
public:
EventPublicationAttribute (
String^ topic,
PublicationScope scope
)
public EventPublicationAttribute (
String topic,
PublicationScope scope
)
public function EventPublicationAttribute (
topic : String,
scope : PublicationScope
)
Parameters
- topic
The name of the EventTopic the event will publish.
- scope
The scope for the publication.
See Also
Reference
EventPublicationAttribute Class
EventPublicationAttribute Members
Microsoft.Practices.CompositeUI.EventBroker Namespace