本文整理汇总了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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}