Пример #1
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task ThrowExceptionAsync()
        {
            BRequest_RemotePrimitiveTypes_throwException req = new BRequest_RemotePrimitiveTypes_throwException();
            Task <Object> task = Task <Object> .Factory.FromAsync(transport.BeginSend <Object>, transport.EndSend <Object>, req, null);

            await task;
        }
Пример #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_RemotePrimitiveTypes_throwException obj = (BRequest_RemotePrimitiveTypes_throwException)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemotePrimitiveTypes_throwException()));

            BBufferBin bbuf = bin.bbuf;

            return(obj);
        }
Пример #3
0
        public virtual void ThrowException(BAsyncResult <Object> asyncResult)
        {
            BRequest_RemotePrimitiveTypes_throwException req = new BRequest_RemotePrimitiveTypes_throwException();

            transport.sendMethod(req, asyncResult);
        }
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task ThrowExceptionAsync(){
			BRequest_RemotePrimitiveTypes_throwException req = new BRequest_RemotePrimitiveTypes_throwException();			
			Task<Object> task = Task<Object>.Factory.FromAsync(transport.BeginSend<Object>, transport.EndSend<Object>, req, null);
			await task;
		}
		public virtual void ThrowException(BAsyncResult<Object> asyncResult) {
			BRequest_RemotePrimitiveTypes_throwException req = new BRequest_RemotePrimitiveTypes_throwException();			
			transport.sendMethod(req, asyncResult);
		}