SqlServerAppenders..::..WithChangeNotification<(Of <(<'TResult>)>)> Method
Attaches a SQL Server dependency change listener to this operation.
Namespace:
Tortuga.Chain.SqlServerAssembly: Tortuga.Chain.SqlServer.MDS (in Tortuga.Chain.SqlServer.MDS.dll)
Syntax
public static ILink<TResult> WithChangeNotification<TResult>( this ILink<TResult> previousLink, OnChangeEventHandler eventHandler )
<ExtensionAttribute> _ Public Shared Function WithChangeNotification(Of TResult) ( _ previousLink As ILink(Of TResult), _ eventHandler As OnChangeEventHandler _ ) As ILink(Of TResult)
[ExtensionAttribute] public: generic<typename TResult> static ILink<TResult>^ WithChangeNotification( ILink<TResult>^ previousLink, OnChangeEventHandler^ eventHandler )
Type Parameters
- TResult
- The type of the t result type.
Parameters
- previousLink
- Type: Tortuga.Chain..::..ILink<(Of <(<'TResult>)>)>
The previous link.
- eventHandler
- Type: OnChangeEventHandler
The event handler to fire when the underlying data changes.