コード例 #1
0
 void DoSomething()
 {
     try
     {
         proxy.BeatTheBroncos(35);
         proxy.BeatTheNiners(14);
         proxy.WinSuperbowl();
     }
     catch (Exception ex)
     {
         Debug.WriteLine(ex.ToString());
     }
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: DarthScottius/WCFMonitor
        static void Main(string[] args)
        {
            SeahawksClient proxy = new SeahawksClient("Seahawks");

            PermissiveCertificatePolicy.Enact("CN=localhost");

            try
            {
                string retval = proxy.BeatTheBroncos(35);
                Console.WriteLine(retval);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
            }
        }