ProvisioningServiceClient.GetEnrollmentGroupAttestationAsync Método

Definição

Recupere as informações de atestado enrollmentGroup.

public System.Threading.Tasks.Task<Microsoft.Azure.Devices.Provisioning.Service.AttestationMechanism> GetEnrollmentGroupAttestationAsync (string enrollmentGroupId, System.Threading.CancellationToken cancellationToken = default);
member this.GetEnrollmentGroupAttestationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Provisioning.Service.AttestationMechanism>
Public Function GetEnrollmentGroupAttestationAsync (enrollmentGroupId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AttestationMechanism)

Parâmetros

enrollmentGroupId
String

o string que identifica o enrollmentGroup. Ele não pode estar null ou vazio.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

O AttestationMechanism associado à ID do grupo fornecida.

Comentários

Se a ID de grupo fornecida não corresponder a nenhum grupo de registro, esse método gerará ProvisioningServiceClientException.

Aplica-se a