RemotingSamples.ForwardByRef.CallMe C# (CSharp) Method

CallMe() public method

public CallMe ( string text ) : void
text string
return void
    public void CallMe(string text)
    {
      Console.WriteLine(text);
    }//CallMe
  }//class ForwardByRef

Usage Example

コード例 #1
0
ファイル: shared.cs プロジェクト: ydunk/masters
        }//constructor

        public string HelloMethod(string text, ForwardByRef fbr)
        {
            lock (this)
            {
                m_CallCount++;

                fbr.CallMe("Regards from the server");
                Console.WriteLine("\nHello.HelloMethod : {0}", text);
                Console.WriteLine("Number of calls on this instance: {0}\n", m_CallCount);
                return("Hi there " + text);
            } //lock
        }     //HelloMethod()
All Usage Examples Of RemotingSamples.ForwardByRef::CallMe
ForwardByRef