ProvisioningServiceClient.GetEnrollmentGroupAttestationAsync Method
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.
Retrieve the enrollmentGroup attestation information.
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)
Parameters
- enrollmentGroupId
- String
the string
that identifies the enrollmentGroup. It cannot be null
or empty.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The AttestationMechanism associated with the provided group Id.
Remarks
If the provided group id does not match up with any enrollment group, this method will throw ProvisioningServiceClientException.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET