System.Windows.Forms.BindingCompleteEventArgs.SetErrorText C# (CSharp) Method

SetErrorText() private method

private SetErrorText ( string error_text ) : void
error_text string
return void
		internal void SetErrorText (string error_text)
		{
			this.error_text = error_text;
		}

Usage Example

Example #1
0
        void FireBindingComplete(BindingCompleteContext context, Exception exc, string error_message)
        {
            BindingCompleteEventArgs args = new BindingCompleteEventArgs(this,
                                                                         exc == null ? BindingCompleteState.Success : BindingCompleteState.Exception,
                                                                         context);

            if (exc != null)
            {
                args.SetException(exc);
                args.SetErrorText(error_message);
            }

            OnBindingComplete(args);
        }
All Usage Examples Of System.Windows.Forms.BindingCompleteEventArgs::SetErrorText