Streamable.ToStreamableFromFile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ToStreamableFromFile<TKey,TPayload>(String, Int32, IIngressScheduler, Boolean, StreamProperties<TKey,TPayload>) |
Deserialize from binary stream to streamable |
ToStreamableFromFile<TPayload>(String, Int32, IIngressScheduler, Boolean, StreamProperties<Empty,TPayload>) |
Deserialize from binary stream to streamable |
ToStreamableFromFile<TKey,TPayload>(String, Int32, IIngressScheduler, Boolean, StreamProperties<TKey,TPayload>)
Deserialize from binary stream to streamable
public static Microsoft.StreamProcessing.IIngressStreamable<TKey,TPayload> ToStreamableFromFile<TKey,TPayload> (this string fileName, int numMessages = 0, Microsoft.StreamProcessing.Serializer.IIngressScheduler scheduler = null, bool readPropertiesFromStream = false, Microsoft.StreamProcessing.StreamProperties<TKey,TPayload> inputProperties = null);
static member ToStreamableFromFile : string * int * Microsoft.StreamProcessing.Serializer.IIngressScheduler * bool * Microsoft.StreamProcessing.StreamProperties<'Key, 'Payload> -> Microsoft.StreamProcessing.IIngressStreamable<'Key, 'Payload>
<Extension()>
Public Function ToStreamableFromFile(Of TKey, TPayload) (fileName As String, Optional numMessages As Integer = 0, Optional scheduler As IIngressScheduler = null, Optional readPropertiesFromStream As Boolean = false, Optional inputProperties As StreamProperties(Of TKey, TPayload) = null) As IIngressStreamable(Of TKey, TPayload)
Type Parameters
- TKey
- TPayload
Parameters
- fileName
- String
- numMessages
- Int32
- scheduler
- IIngressScheduler
- readPropertiesFromStream
- Boolean
- inputProperties
- StreamProperties<TKey,TPayload>
Returns
Applies to
ToStreamableFromFile<TPayload>(String, Int32, IIngressScheduler, Boolean, StreamProperties<Empty,TPayload>)
Deserialize from binary stream to streamable
public static Microsoft.StreamProcessing.IIngressStreamable<Microsoft.StreamProcessing.Empty,TPayload> ToStreamableFromFile<TPayload> (this string fileName, int numMessages = 0, Microsoft.StreamProcessing.Serializer.IIngressScheduler scheduler = null, bool readPropertiesFromStream = false, Microsoft.StreamProcessing.StreamProperties<Microsoft.StreamProcessing.Empty,TPayload> inputProperties = null);
static member ToStreamableFromFile : string * int * Microsoft.StreamProcessing.Serializer.IIngressScheduler * bool * Microsoft.StreamProcessing.StreamProperties<Microsoft.StreamProcessing.Empty, 'Payload> -> Microsoft.StreamProcessing.IIngressStreamable<Microsoft.StreamProcessing.Empty, 'Payload>
<Extension()>
Public Function ToStreamableFromFile(Of TPayload) (fileName As String, Optional numMessages As Integer = 0, Optional scheduler As IIngressScheduler = null, Optional readPropertiesFromStream As Boolean = false, Optional inputProperties As StreamProperties(Of Empty, TPayload) = null) As IIngressStreamable(Of Empty, TPayload)
Type Parameters
- TPayload
Parameters
- fileName
- String
- numMessages
- Int32
- scheduler
- IIngressScheduler
- readPropertiesFromStream
- Boolean
- inputProperties
- StreamProperties<Empty,TPayload>
Returns
IIngressStreamable<Empty,TPayload>