Udostępnij za pośrednictwem


SinkSubscription Members

Include Protected Members
Include Inherited Members

Applies to: Semantic Logging 2.0

The SinkSubscription type exposes the following members.

Constructors

  Name Description
Public method SinkSubscription
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 if the container itself is explicitly disposed.

Methods

  Name Description
Public method Dispose()
Disposes both the Subscription and the Sink if it implements IDisposable
Protected method Dispose(Boolean)
Disposes both the Subscription and the Sink if it implements IDisposable
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(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.

See Also

SinkSubscription Class

Microsoft.Practices.EnterpriseLibrary.SemanticLogging Namespace