ProjectsAgentsModelFactory.SessionFileWriteResponse(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.SessionFileWriteResponse SessionFileWriteResponse(string path = default, long bytesWritten = 0);
static member SessionFileWriteResponse : string * int64 -> Azure.AI.Projects.Agents.SessionFileWriteResponse
Public Shared Function SessionFileWriteResponse (Optional path As String = Nothing, Optional bytesWritten As Long = 0) As SessionFileWriteResponse
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 SessionFileWriteResponse instance for mocking.