SetErrorText() 개인적인 메소드

private SetErrorText ( string error_text ) : void
error_text string
리턴 void
예제 #1
0
파일: Binding.cs 프로젝트: raj581/Marvin
        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);
        }
예제 #2
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);
		}