Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractListenerContainer.SharedConnection Property

Gets the shared connection maintained by this container. Available after initialization.

[Visual Basic]
Protected ReadOnly Property SharedConnection() As IConnection
   Protected Get
   End Get
End Property
protected IConnection SharedConnection { protected get; }

Property Value

The shared connection (never null)


Exception Type Condition
InvalidOperationException if this container does not maintain a shared Connection, or if the Connection hasn't been initialized yet.

See Also

AbstractListenerContainer Class | Spring.Messaging.Nms.Listener Namespace