RemoteProvider.Deploy<T1, TPayload> Method (Func<T1, IRemoteStreamableSink<TPayload>>, String)
Deploys a remote function that returns a temporal stream sink.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Deploy(Of T1, TPayload) ( _
definition As Func(Of T1, IRemoteStreamableSink(Of TPayload)), _
id As String _
) As Func(Of T1, IRemoteStreamableSink(Of TPayload))
'Usage
Dim definition As Func(Of T1, IRemoteStreamableSink(Of TPayload))
Dim id As String
Dim returnValue As Func(Of T1, IRemoteStreamableSink(Of TPayload))
returnValue = definition.Deploy(id)
public static Func<T1, IRemoteStreamableSink<TPayload>> Deploy<T1, TPayload>(
this Func<T1, IRemoteStreamableSink<TPayload>> definition,
string id
)
[ExtensionAttribute]
public:
generic<typename T1, typename TPayload>
static Func<T1, IRemoteStreamableSink<TPayload>^>^ Deploy(
Func<T1, IRemoteStreamableSink<TPayload>^>^ definition,
String^ id
)
static member Deploy :
definition:Func<'T1, IRemoteStreamableSink<'TPayload>> *
id:string -> Func<'T1, IRemoteStreamableSink<'TPayload>>
JScript does not support generic types and methods.
Type Parameters
- T1
The first parameter type.
- TPayload
The payload type.
Parameters
- definition
Type: System.Func<T1, IRemoteStreamableSink<TPayload>>
The remote function.
- id
Type: System.String
The function identifier.
Return Value
Type: System.Func<T1, IRemoteStreamableSink<TPayload>>
The remote function that returns a temporal stream sink.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Func<T1, IRemoteStreamableSink<TPayload>>. 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).