Elastacloud.AzureManagement.Fluent.SubscriptionManager.GetRoleContextManager C# (CSharp) Method

GetRoleContextManager() public method

Added the deployment
public GetRoleContextManager ( string certificateThumbprint, string serviceName, DeploymentSlot slot ) : RoleContextManager
certificateThumbprint string The thumbprint of the certificate being used to update the deployment status
serviceName string The name of the cloud service
slot DeploymentSlot The deployment slot
return RoleContextManager
        public RoleContextManager GetRoleContextManager(string certificateThumbprint, string serviceName, DeploymentSlot slot)
        {
            X509Certificate2 certificate = PublishSettingsExtractor.FromStore(certificateThumbprint);
            return new RoleContextManager(_subscriptionId, certificate, serviceName, slot);
        }