EventTopicException Constructor (EventTopic, Generic ReadOnlyCollection)
Initializes a new instance with the specified list of exceptions.
Namespace: Microsoft.Practices.CompositeUI.EventBroker
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Public Sub New ( _
topic As EventTopic, _
exceptions As ReadOnlyCollection(Of Exception) _
)
'Usage
Dim topic As EventTopic
Dim exceptions As ReadOnlyCollection(Of Exception)
Dim instance As New EventTopicException(topic, exceptions)
public EventTopicException (
EventTopic topic,
ReadOnlyCollection<Exception> exceptions
)
public:
EventTopicException (
EventTopic^ topic,
ReadOnlyCollection<Exception^>^ exceptions
)
public EventTopicException (
EventTopic topic,
ReadOnlyCollection<Exception> exceptions
)
public function EventTopicException (
topic : EventTopic,
exceptions : ReadOnlyCollection<Exception>
)
Parameters
- topic
The EventTopic instance whose subscribers incurred into an exception.
- exceptions
The list of exceptions that occurred during the subscribers invocation.
See Also
Reference
EventTopicException Class
EventTopicException Members
Microsoft.Practices.CompositeUI.EventBroker Namespace