示例#1
0
        protected ImagingOptions20 GetImagingOptions(string VideoSourceToken)
        {
            ImagingPortClient client = ImagingClient;

            if (client == null)
            {
                return(null);
            }

            ImagingOptions20 options = null;

            try
            {
                RunStep(() => { options = client.GetOptions(VideoSourceToken); }, "Get Imaging Options");
            }
            catch (Exception exc)
            {
                RethrowIfStop(exc);
                LogStepEvent(string.Format("Imaging GetOptions not supported ({0})", exc.Message));
                StepFailed(exc);
            }

            DoRequestDelay();
            return(options);
        }