public DeleteCertificate ( |
||
parameters | The parameters indicating which certificate to delete. | |
return | void |
/// <summary> /// Deletes a certificate. /// </summary> public static void DeleteTestCertificate(BatchController controller, BatchAccountContext context, string thumbprintAlgorithm, string thumbprint) { BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient); CertificateOperationParameters parameters = new CertificateOperationParameters(context, thumbprintAlgorithm, thumbprint); client.DeleteCertificate(parameters); }
/// <summary> /// Deletes a certificate. /// </summary> public static void DeleteTestCertificate(BatchController controller, BatchAccountContext context, string thumbprintAlgorithm, string thumbprint) { RequestInterceptor interceptor = CreateHttpRecordingInterceptor(); BatchClientBehavior[] behaviors = new BatchClientBehavior[] { interceptor }; BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient); CertificateOperationParameters parameters = new CertificateOperationParameters(context, thumbprintAlgorithm, thumbprint, behaviors); client.DeleteCertificate(parameters); }
/// <summary> /// Deletes a certificate. /// </summary> public static void DeleteTestCertificate(BatchController controller, BatchAccountContext context, string thumbprintAlgorithm, string thumbprint) { BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient); CertificateOperationParameters parameters = new CertificateOperationParameters(context, thumbprintAlgorithm, thumbprint); client.DeleteCertificate(parameters); }