protected override void BeginProcessing() { this.showCommandProxy = new ShowCommandProxy(this); if (this.showCommandProxy.ScreenHeight < this.Height) { ErrorRecord errorRecord = new ErrorRecord(new NotSupportedException(string.Format(CultureInfo.CurrentUICulture, FormatAndOut_out_gridview.PropertyValidate, new object[] { "Height", this.showCommandProxy.ScreenHeight })), "PARAMETER_DATA_ERROR", ErrorCategory.InvalidData, null); base.ThrowTerminatingError(errorRecord); } if (this.showCommandProxy.ScreenWidth < this.Width) { ErrorRecord record2 = new ErrorRecord(new NotSupportedException(string.Format(CultureInfo.CurrentUICulture, FormatAndOut_out_gridview.PropertyValidate, new object[] { "Width", this.showCommandProxy.ScreenWidth })), "PARAMETER_DATA_ERROR", ErrorCategory.InvalidData, null); base.ThrowTerminatingError(record2); } }