Snapshot Constructors
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
Snapshot() |
Initializes a new instance of the Snapshot class. |
Snapshot(Guid, String, SnapshotObjectType, IList<Guid>, DateTime, DateTime, String) |
Initializes a new instance of the Snapshot class. |
Snapshot()
- Source:
- Snapshot.cs
Initializes a new instance of the Snapshot class.
public Snapshot ();
Public Sub New ()
Applies to
Snapshot(Guid, String, SnapshotObjectType, IList<Guid>, DateTime, DateTime, String)
- Source:
- Snapshot.cs
Initializes a new instance of the Snapshot class.
public Snapshot (Guid id, string account, Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotObjectType type, System.Collections.Generic.IList<Guid> applyScope, DateTime createdTime, DateTime lastUpdateTime, string userData = default);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.Snapshot : Guid * string * Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotObjectType * System.Collections.Generic.IList<Guid> * DateTime * DateTime * string -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.Snapshot
Public Sub New (id As Guid, account As String, type As SnapshotObjectType, applyScope As IList(Of Guid), createdTime As DateTime, lastUpdateTime As DateTime, Optional userData As String = Nothing)
Parameters
- id
- Guid
Snapshot id.
- account
- String
Azure Cognitive Service Face account id of the subscriber who created the snapshot by Snapshot - Take.
- type
- SnapshotObjectType
Type of the source object in the snapshot, specified by the subscriber who created the snapshot when calling Snapshot - Take. Currently FaceList, PersonGroup, LargeFaceList and LargePersonGroup are supported. Possible values include: 'FaceList', 'LargeFaceList', 'LargePersonGroup', 'PersonGroup'
Array of the target Face subscription ids for the snapshot, specified by the user who created the snapshot when calling Snapshot - Take. For each snapshot, only subscriptions included in the applyScope of Snapshot - Take can apply it.
- createdTime
- DateTime
A combined UTC date and time string that describes the created time of the snapshot. E.g. 2018-12-25T11:41:02.2331413Z.
- lastUpdateTime
- DateTime
A combined UTC date and time string that describes the last time when the snapshot was created or updated by Snapshot - Update. E.g. 2018-12-25T11:51:27.8705696Z.
- userData
- String
User specified data about the snapshot for any purpose. Length should not exceed 16KB.
Applies to
Azure SDK for .NET