AIVisionFaceModelFactory.AuditLivenessResponseInfo Method

Definition

Initializes a new instance of AuditLivenessResponseInfo.

public static Azure.AI.Vision.Face.AuditLivenessResponseInfo AuditLivenessResponseInfo (Azure.AI.Vision.Face.LivenessResponseBody body = default, int statusCode = 0, long latencyInMilliseconds = 0);
static member AuditLivenessResponseInfo : Azure.AI.Vision.Face.LivenessResponseBody * int * int64 -> Azure.AI.Vision.Face.AuditLivenessResponseInfo
Public Shared Function AuditLivenessResponseInfo (Optional body As LivenessResponseBody = Nothing, Optional statusCode As Integer = 0, Optional latencyInMilliseconds As Long = 0) As AuditLivenessResponseInfo

Parameters

body
LivenessResponseBody

The response body. The schema of this field will depend on the request.url and request.method used by the client.

statusCode
Int32

The HTTP status code returned to the client.

latencyInMilliseconds
Int64

The server measured latency for this request in milliseconds.

Returns

A new AuditLivenessResponseInfo instance for mocking.

Applies to