Click or drag to resize

ProcessServicesStreamActivityFileContent Method

Retrieves the raw file content for a single activity file and returns it as a Stream.

Namespace:  FactoryLogix.xTend.ProcessDefinition
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public Stream StreamActivityFileContent(
	string sessionId,
	string activityFileId
)

Parameters

sessionId
Type: SystemString
The session identifier that was returned by the Connect(String, String, String, String, String) method.
activityFileId
Type: SystemString
The unique identifier for the document, as specified by the Id property of a ActivityFile object return by the GetActivityFiles method.

Return Value

Type: Stream

[Missing <returns> documentation for "M:FactoryLogix.xTend.ProcessDefinition.ProcessServices.StreamActivityFileContent(System.String,System.String)"]

Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionAn existing file item with matching Id property was not found in the system.
See Also