AIProjectModels.UploadModelAsync(String, String, String) 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.
Upload the model directory.
public virtual System.Threading.Tasks.Task<Uri> UploadModelAsync(string path, string name, string version);
abstract member UploadModelAsync : string * string * string -> System.Threading.Tasks.Task<Uri>
override this.UploadModelAsync : string * string * string -> System.Threading.Tasks.Task<Uri>
Public Overridable Function UploadModelAsync (path As String, name As String, version As String) As Task(Of Uri)
Parameters
- path
- String
The path to the directory, containing model.
- name
- String
Model name.
- version
- String
Model version.
Returns
Uploaded model URI
Exceptions
name, version or is null.
name, version or path is an empty string, and was expected to be non-empty.