AzureML.ManagementSDK.GetExperimentById C# (CSharp) Метод

GetExperimentById() публичный Метод

public GetExperimentById ( WorkspaceSetting setting, string experimentId, string &rawJson ) : Experiment
setting AzureML.Contract.WorkspaceSetting
experimentId string
rawJson string
Результат AzureML.Contract.Experiment
        public Experiment GetExperimentById(WorkspaceSetting setting, string experimentId, out string rawJson)
        {
            ValidateWorkspaceSetting(setting);
            Util.AuthorizationToken = setting.AuthorizationToken;
            rawJson = string.Empty;
            string queryUrl = StudioApi + string.Format("workspaces/{0}/experiments/{1}", setting.WorkspaceId, experimentId);
            HttpResult hr = Util.HttpGet(queryUrl).Result;
            if (hr.IsSuccess)
            {
                rawJson = hr.Payload;
                Experiment exp = jss.Deserialize<Experiment>(hr.Payload);                
                return exp;
            }
            else
                throw new AmlRestApiException(hr);
        }