TextAuthoringTrainedModel.LoadSnapshot 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.
Overloads
LoadSnapshot(WaitUntil, RequestContext) |
[Protocol Method] Long-running operation.
|
LoadSnapshot(WaitUntil, CancellationToken) |
Loads a snapshot of a trained model. |
LoadSnapshot(WaitUntil, RequestContext)
- Source:
- TextAuthoringTrainedModel.cs
[Protocol Method] Long-running operation.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Operation LoadSnapshot(Azure.WaitUntil waitUntil, Azure.RequestContext context);
abstract member LoadSnapshot : Azure.WaitUntil * Azure.RequestContext -> Azure.Operation
override this.LoadSnapshot : Azure.WaitUntil * Azure.RequestContext -> Azure.Operation
Public Overridable Function LoadSnapshot (waitUntil As WaitUntil, context As RequestContext) As Operation
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- context
- RequestContext
The request context, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The Operation representing an asynchronous operation on the service.
Exceptions
Service returned a non-success status code.
Applies to
LoadSnapshot(WaitUntil, CancellationToken)
- Source:
- TextAuthoringTrainedModel.cs
Loads a snapshot of a trained model.
public virtual Azure.Operation LoadSnapshot(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member LoadSnapshot : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.Operation
override this.LoadSnapshot : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.Operation
Public Overridable Function LoadSnapshot (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As Operation
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A long-running operation to manage the snapshot load process.