ProjectsAgentsModelFactory.SessionFileWriteResult(String, Int64) 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.
Response from uploading a file to a session sandbox.
public static Azure.AI.Projects.Agents.SessionFileWriteResult SessionFileWriteResult(string path = default, long bytesWritten = 0);
static member SessionFileWriteResult : string * int64 -> Azure.AI.Projects.Agents.SessionFileWriteResult
Public Shared Function SessionFileWriteResult (Optional path As String = Nothing, Optional bytesWritten As Long = 0) As SessionFileWriteResult
Parameters
- path
- String
The path where the file was written, relative to the session home directory.
- bytesWritten
- Int64
Number of bytes written.
Returns
A new SessionFileWriteResult instance for mocking.