Candor.Tasks.ServiceProcess.ServiceMonitorWorkerRoleTask.AssertConfigurationValid C# (CSharp) 메소드

AssertConfigurationValid() 보호된 메소드

Ensures the configuration is valid, otherwise it throws an ArgumentException.
protected AssertConfigurationValid ( ) : void
리턴 void
        protected virtual void AssertConfigurationValid()
        {
            if (String.IsNullOrWhiteSpace(OutputFileNameToWatch) && String.IsNullOrWhiteSpace(ServiceName))
                throw new ArgumentException("No Service or File was specified to be watched.");
        }