当前位置: 首页>>代码示例>>C#>>正文


C# BAsyncResultIF.setAsyncResult方法代码示例

本文整理汇总了C#中BAsyncResultIF.setAsyncResult方法的典型用法代码示例。如果您正苦于以下问题:C# BAsyncResultIF.setAsyncResult方法的具体用法?C# BAsyncResultIF.setAsyncResult怎么用?C# BAsyncResultIF.setAsyncResult使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在BAsyncResultIF的用法示例。


在下文中一共展示了BAsyncResultIF.setAsyncResult方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				EvolveIF __byps__remoteT = (EvolveIF)__byps__remote;				
				BAsyncResultSendMethod<Evolve> __byps__outerResult = new BAsyncResultSendMethod<Evolve>(__byps__asyncResult, new byps.test.api.BResult_1391985860());				
				__byps__remoteT.GetEvolve(BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(null, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_EvolveIF_getEvolve.cs

示例2: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				RemoteArrayTypes1dim __byps__remoteT = (RemoteArrayTypes1dim)__byps__remote;				
				BAsyncResultSendMethod<int[]> __byps__outerResult = new BAsyncResultSendMethod<int[]>(__byps__asyncResult, new byps.test.api.BResult_100361105());				
				__byps__remoteT.GetInt(BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(null, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_RemoteArrayTypes1dim_getInt.cs

示例3: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				RemoteMapTypes __byps__remoteT = (RemoteMapTypes)__byps__remote;				
				BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new byps.test.api.BResult_19());				
				__byps__remoteT.SetObj1(obj1Value, BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(null, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_RemoteMapTypes_setObj1.cs

示例4: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				RemotePrimitiveTypes __byps__remoteT = (RemotePrimitiveTypes)__byps__remote;				
				BAsyncResultSendMethod<byps.test.api.prim.PrimitiveTypes> __byps__outerResult = new BAsyncResultSendMethod<byps.test.api.prim.PrimitiveTypes>(__byps__asyncResult, new byps.test.api.BResult_1000());				
				__byps__remoteT.GetPrimitiveTypes(BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(null, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_RemotePrimitiveTypes_getPrimitiveTypes.cs

示例5: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				RemoteMapTypes __byps__remoteT = (RemoteMapTypes)__byps__remote;				
				BAsyncResultSendMethod<IDictionary<String,DateTime>> __byps__outerResult = new BAsyncResultSendMethod<IDictionary<String,DateTime>>(__byps__asyncResult, new byps.test.api.BResult_1366799209());				
				__byps__remoteT.GetDate1(BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(null, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_RemoteMapTypes_getDate1.cs

示例6: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				RemoteStreams __byps__remoteT = (RemoteStreams)__byps__remote;				
				BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new byps.test.api.BResult_19());				
				__byps__remoteT.SetImages(istrmsValue, doNotReadStreamAtKeyValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(null, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_RemoteStreams_setImages.cs

示例7: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				RemoteInlineInstance __byps__remoteT = (RemoteInlineInstance)__byps__remote;				
				BAsyncResultSendMethod<IList<IList<byps.test.api.inl.Point2D>>> __byps__outerResult = new BAsyncResultSendMethod<IList<IList<byps.test.api.inl.Point2D>>>(__byps__asyncResult, new byps.test.api.BResult_1823330785());				
				__byps__remoteT.GetPoint2DListList(BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(null, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_RemoteInlineInstance_getPoint2DListList.cs

示例8: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				RemoteReferences __byps__remoteT = (RemoteReferences)__byps__remote;				
				BAsyncResultSendMethod<byps.test.api.refs.Node> __byps__outerResult = new BAsyncResultSendMethod<byps.test.api.refs.Node>(__byps__asyncResult, new byps.test.api.BResult_9001());				
				__byps__remoteT.GetNode(BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(null, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_RemoteReferences_getNode.cs

示例9: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				RemoteWithAuthentication __byps__remoteT = (RemoteWithAuthentication)__byps__remote;				
				BAsyncResultSendMethod<byps.test.api.auth.SessionInfo> __byps__outerResult = new BAsyncResultSendMethod<byps.test.api.auth.SessionInfo>(__byps__asyncResult, new byps.test.api.BResult_65775978());				
				__byps__remoteT.Login(sessValue, userNameValue, userPwdValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(null, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_RemoteWithAuthentication_login.cs

示例10: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				FileSystemService __byps__remoteT = (FileSystemService)__byps__remote;				
				BAsyncResultSendMethod<int> __byps__outerResult = new BAsyncResultSendMethod<int>(__byps__asyncResult, new BResult_5());				
				__byps__remoteT.BeginWatchFolder(dirValue, recursiveValue, extraInfoValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(0, e);
			}
		}		
开发者ID:onlyfly34,项目名称:jsfs,代码行数:10,代码来源:BRequest_FileSystemService_beginWatchFolder.cs

示例11: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				ClientIF __byps__remoteT = (ClientIF)__byps__remote;				
				BAsyncResultSendMethod<int> __byps__outerResult = new BAsyncResultSendMethod<int>(__byps__asyncResult, new byps.test.api.BResult_5());				
				__byps__remoteT.IncrementInt(aValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(0, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_ClientIF_incrementInt.cs

示例12: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				FileSystemService __byps__remoteT = (FileSystemService)__byps__remote;				
				BAsyncResultSendMethod<System.IO.Stream> __byps__outerResult = new BAsyncResultSendMethod<System.IO.Stream>(__byps__asyncResult, new BResult_15());				
				__byps__remoteT.ReadFile(pathValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(null, e);
			}
		}		
开发者ID:onlyfly34,项目名称:jsfs,代码行数:10,代码来源:BRequest_FileSystemService_readFile.cs

示例13: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				BUtilityRequests __byps__remoteT = (BUtilityRequests)__byps__remote;				
				BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new BResult_19());				
				__byps__remoteT.CancelMessage(messageIdValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(null, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_BUtilityRequests_cancelMessage.cs

示例14: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				RemoteConstants __byps__remoteT = (RemoteConstants)__byps__remote;				
				BAsyncResultSendMethod<bool> __byps__outerResult = new BAsyncResultSendMethod<bool>(__byps__asyncResult, new byps.test.api.BResult_1());				
				__byps__remoteT.Compare_AllTypesC(bool1sValue, bool2sValue, char1sValue, stringNullValue, char2sValue, short1sValue, int1sValue, long1sValue, float1sValue, double1sValue, string1sValue, ALLValue, arrIntValue, arrInt4Value, arrStringsValue, arrStrings4Value, arrAllValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(false, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_RemoteConstants_compare_AllTypesC.cs

示例15: execute

		public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) {
			// checkpoint byps.gen.cs.GenApiClass:406
			try {
				RemoteSetTypes __byps__remoteT = (RemoteSetTypes)__byps__remote;				
				BAsyncResultSendMethod<HashSet<byte>> __byps__outerResult = new BAsyncResultSendMethod<HashSet<byte>>(__byps__asyncResult, new byps.test.api.BResult_31512998());				
				__byps__remoteT.GetByte1(BAsyncResultHelper.ToDelegate(__byps__outerResult));
			} catch (Exception e) {
				__byps__asyncResult.setAsyncResult(null, e);
			}
		}		
开发者ID:marcarvalho,项目名称:byps,代码行数:10,代码来源:BRequest_RemoteSetTypes_getByte1.cs


注:本文中的BAsyncResultIF.setAsyncResult方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。