RemoteProvider.GetObserver<T1, T2, T3, TElement> Method (IRemoteProvider, String)
Retrieves a remote function that returns an observer.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetObserver(Of T1, T2, T3, TElement) ( _
provider As IRemoteProvider, _
id As String _
) As Func(Of T1, T2, T3, IRemoteObserver(Of TElement))
'Usage
Dim provider As IRemoteProvider
Dim id As String
Dim returnValue As Func(Of T1, T2, T3, IRemoteObserver(Of TElement))
returnValue = provider.GetObserver(id)
public static Func<T1, T2, T3, IRemoteObserver<TElement>> GetObserver<T1, T2, T3, TElement>(
this IRemoteProvider provider,
string id
)
[ExtensionAttribute]
public:
generic<typename T1, typename T2, typename T3, typename TElement>
static Func<T1, T2, T3, IRemoteObserver<TElement>^>^ GetObserver(
IRemoteProvider^ provider,
String^ id
)
static member GetObserver :
provider:IRemoteProvider *
id:string -> Func<'T1, 'T2, 'T3, IRemoteObserver<'TElement>>
JScript does not support generic types and methods.
Type Parameters
- T1
The first parameter type.
- T2
The second parameter type.
- T3
The third parameter type.
- TElement
The element type.
Parameters
- provider
Type: Microsoft.ComplexEventProcessing.Linq.IRemoteProvider
The remote LINQ provider.
- id
Type: System.String
The function identifier.
Return Value
Type: System.Func<T1, T2, T3, IRemoteObserver<TElement>>
The remote observer function.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IRemoteProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=sql.111) or https://msdn.microsoft.com/en-us/library/bb383977(v=sql.111).