cloudServiceName
在创建 的新实例时调用了一个参数SchedulerClient
,但是没有关于该值来自何处的文档,并且 Azure 门户也没有帮助。
这是我到目前为止的代码:
var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
store.Open(OpenFlags.ReadWrite);
var certificate = store.Certificates.Find(X509FindType.FindByThumbprint, "[Thumbprint]", false)[0];
store.Close();
var cloudCreds = new CertificateCloudCredentials("[MySubscriptionId]", certificate);
var client = new SchedulerClient("[Where do I find this value]", "MyJobCollection", cloudCreds);