Méthode RemoteProvider.DefineStreamable<TPayload> (IRemoteProvider, Expression<Func<IStreamable<TPayload>>>)
Définit un flux temporel distant.
Espace de noms : Microsoft.ComplexEventProcessing.Linq
Assembly : Microsoft.ComplexEventProcessing (en Microsoft.ComplexEventProcessing.dll)
Syntaxe
'Déclaration
<ExtensionAttribute> _
Public Shared Function DefineStreamable(Of TPayload) ( _
provider As IRemoteProvider, _
definition As Expression(Of Func(Of IStreamable(Of TPayload))) _
) As IQStreamable(Of TPayload)
'Utilisation
Dim provider As IRemoteProvider
Dim definition As Expression(Of Func(Of IStreamable(Of TPayload)))
Dim returnValue As IQStreamable(Of TPayload)
returnValue = provider.DefineStreamable(definition)
public static IQStreamable<TPayload> DefineStreamable<TPayload>(
this IRemoteProvider provider,
Expression<Func<IStreamable<TPayload>>> definition
)
[ExtensionAttribute]
public:
generic<typename TPayload>
static IQStreamable<TPayload>^ DefineStreamable(
IRemoteProvider^ provider,
Expression<Func<IStreamable<TPayload>^>^>^ definition
)
static member DefineStreamable :
provider:IRemoteProvider *
definition:Expression<Func<IStreamable<'TPayload>>> -> IQStreamable<'TPayload>
JScript ne prend pas en charge les types et les méthodes génériques.
Paramètres de type
- TPayload
Type de charge utile.
Paramètres
- provider
Type : Microsoft.ComplexEventProcessing.Linq.IRemoteProvider
Fournisseur LINQ distant.
- definition
Type : System.Linq.Expressions.Expression<Func<IStreamable<TPayload>>>
Définition du flux de données temporel.
Valeur de retour
Type : Microsoft.ComplexEventProcessing.Linq.IQStreamable<TPayload>
Flux temporel distant.
Remarque relative à l'utilisation
En Visual Basic et C#, vous pouvez appeler cette méthode comme méthode d'instance sur tout objet de type IRemoteProvider. Lorsque vous utilisez la syntaxe de la méthode d'instance pour appeler cette méthode, omettez le premier paramètre. Pour plus d'informations, consultez https://msdn.microsoft.com/fr-fr/library/bb384936(v=sql.111) ou https://msdn.microsoft.com/fr-fr/library/bb383977(v=sql.111).