Partager via


SinkSubscription<T> Members

Include Protected Members
Include Inherited Members

Applies to: Semantic Logging 2.0

The SinkSubscription<T> type exposes the following members.

Constructors

  Name Description
Public method SinkSubscription<T>
Initializes a new instance of SinkSubscription. It holds references to a logging sink an a subscription, both of which will be disposed by this container when the container itself is disposed.

Methods

  Name Description
Public method Dispose()
Disposes both the Subscription and the Sink if it implements IDisposable
(Inherited from SinkSubscription.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property Sink
A reference to the underlying log sink.
Public property Subscription
A reference to the underlying subscription token.
(Inherited from SinkSubscription.)

See Also

SinkSubscription<T> Class

Microsoft.Practices.EnterpriseLibrary.SemanticLogging Namespace