다음을 통해 공유


TakeSnapshotRequest Constructors

Definition

Overloads

TakeSnapshotRequest()

Initializes a new instance of the TakeSnapshotRequest class.

TakeSnapshotRequest(SnapshotObjectType, String, IList<Guid>, String)

Initializes a new instance of the TakeSnapshotRequest class.

TakeSnapshotRequest()

Source:
TakeSnapshotRequest.cs

Initializes a new instance of the TakeSnapshotRequest class.

public TakeSnapshotRequest ();
Public Sub New ()

Applies to

TakeSnapshotRequest(SnapshotObjectType, String, IList<Guid>, String)

Source:
TakeSnapshotRequest.cs

Initializes a new instance of the TakeSnapshotRequest class.

public TakeSnapshotRequest (Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotObjectType type, string objectId, System.Collections.Generic.IList<Guid> applyScope, string userData = default);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.TakeSnapshotRequest : Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotObjectType * string * System.Collections.Generic.IList<Guid> * string -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.TakeSnapshotRequest
Public Sub New (type As SnapshotObjectType, objectId As String, applyScope As IList(Of Guid), Optional userData As String = Nothing)

Parameters

type
SnapshotObjectType

User specified type for the source object to take snapshot from. Currently FaceList, PersonGroup, LargeFaceList and LargePersonGroup are supported. Possible values include: 'FaceList', 'LargeFaceList', 'LargePersonGroup', 'PersonGroup'

objectId
String

User specified source object id to take snapshot from.

applyScope
IList<Guid>

User specified array of target Face subscription ids for the snapshot. For each snapshot, only subscriptions included in the applyScope of Snapshot - Take can apply it.

userData
String

User specified data about the snapshot for any purpose. Length should not exceed 16KB.

Applies to