DeployToAzure.Management.DeploymentSlotUri.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString()
        {
            return string.Format("https://management.core.windows.net/{0}/services/hostedservices/{1}/deploymentslots/{2}", _subscriptionId, _serviceName, _slot);
        }

Usage Example

        public RequestUri BeginDelete(DeploymentSlotUri deploymentUri)
        {
            OurTrace.TraceVerbose("BeginDelete");
            var response = _http.Delete(deploymentUri.ToString());
            var statusCode = response.StatusCode;

            if (statusCode.IsAccepted())
                return deploymentUri.ToRequestUri(response.AzureRequestIdHeader);

            if (statusCode.IsConflict())
                return null;

            ThrowUnexpectedHttpResponse(response);
            return null; // can't be reached
        }
All Usage Examples Of DeployToAzure.Management.DeploymentSlotUri::ToString