ToString() 공개 메소드

public ToString ( ) : string
리턴 string
        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
        }
        public RequestUri BeginCreate(DeploymentSlotUri deploymentUri, IDeploymentConfiguration configuration)
        {
            OurTrace.TraceVerbose("BeginCreate");
            var xml = configuration.MakeCreateDeploymentMessage();
            OurTrace.TraceInfo(xml);

            var response = _http.Post(deploymentUri.ToString(), xml);
            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.
        }
        public AzureDeploymentCheckOutcome CheckDeploymentStatus(DeploymentSlotUri deploymentUri)
        {
            try
            {
                var response = _http.Get(deploymentUri.ToString());

                if (response.StatusCode == HttpStatusCode.NotFound)
                    return AzureDeploymentCheckOutcome.NotFound;
                if (response.StatusCode != HttpStatusCode.OK)
                    return AzureDeploymentCheckOutcome.Failed;
                var statusText = CrackStatusTextFromResponse(response);
                OurTrace.TraceVerbose("CheckDeploymentStatus: " + statusText);
                return TranslateStatusText(statusText);
            }
            catch(UnhandledHttpException)
            {
                return AzureDeploymentCheckOutcome.Failed;
            }
        }