你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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