예제 #1
0
    public override void throwPreservedException_async(AMD_TestIntf_throwPreservedException cb, Ice.Current current)
    {
        PSUnknownException ue = new PSUnknownException();

        ue.p    = new PSUnknown2();
        ue.p.pi = 5;
        ue.p.ps = "preserved";
        ue.p.pb = ue.p;
        cb.ice_exception(ue);
        ue.p.pb = null; // Break the cycle.
    }
예제 #2
0
파일: TestAMDI.cs 프로젝트: pedia/zeroc-ice
 public override void throwPreservedException_async(AMD_TestIntf_throwPreservedException cb, Ice.Current current)
 {
     PSUnknownException ue = new PSUnknownException();
     ue.p = new PSUnknown2();
     ue.p.pi = 5;
     ue.p.ps = "preserved";
     ue.p.pb = ue.p;
     cb.ice_exception(ue);
     ue.p.pb = null; // Break the cycle.
 }