KStudioClient.CreateEventReaderFromFilePathAsync Method

Creates an event reader from a file that is specified by a path.

Syntax

public:
IAsyncOperation<KStudioEventReader^ >^ CreateEventReaderFromFilePathAsync(
         String^ filePath,
         KStudioEventStreamSelectorCollection^ streamSelectorCollection,
         KStudioEventReaderFlags flags
)  

Parameters

filePath
Type: String 

 The path to the file from which to create the event reader.

streamSelectorCollection
Type: KStudioEventStreamSelectorCollection 

The set of event streams over which to enumerate.

flags
Type: KStudioEventReaderFlags 

Flags to control the event reader.

Return value

Type: IAsyncOperation<KStudioEventReader^ > 

The event reader.

Remarks

order to read the events on a remote file, the client needs to be connected to the service.

After creating an Event Reader from a file, it is the caller’s responsibilty to dispose the File object when the caller and the Event Reader are done with it.

Requirements

Namespace: Microsoft.Kinect.Tools

Metadata: microsoft.kinect.tools.winmd

See also

Reference

KStudioClient Class

KStudioClient Members

Microsoft.Kinect.Tools Namespace