public virtual void onCreateDoc(EloixClient.IndexServer.IXServerEventsContext ec, String parentId, String maskId, String docTemplate, EloixClient.IndexServer.EditInfoZ editInfoZ, BAsyncResult <EloixClient.IndexServer.EditInfo> asyncResult) { EloixClient.IndexServer.EditInfo __byps__ret = default(EloixClient.IndexServer.EditInfo); Exception __byps__ex = null; try { __byps__ret = onCreateDoc(ec, parentId, maskId, docTemplate, editInfoZ); } catch (Exception e) { __byps__ex = e; } asyncResult(__byps__ret, __byps__ex); }
public virtual void onCreateDoc(EloixClient.IndexServer.IXServerEventsContext ec, String parentId, String maskId, String docTemplate, EloixClient.IndexServer.EditInfoZ editInfoZ, BAsyncResult <EloixClient.IndexServer.EditInfo> asyncResult) { BRequest_IXServerEvents_onCreateDoc req = new BRequest_IXServerEvents_onCreateDoc(); req.ecValue = ec; req.parentIdValue = parentId; req.maskIdValue = maskId; req.docTemplateValue = docTemplate; req.editInfoZValue = editInfoZ; transport.sendMethod(req, asyncResult); }
public virtual EloixClient.IndexServer.EditInfo onCreateDoc(EloixClient.IndexServer.IXServerEventsContext ec, String parentId, String maskId, String docTemplate, EloixClient.IndexServer.EditInfoZ editInfoZ) { throw new BException(BExceptionC.UNSUPPORTED_METHOD, ""); }
public virtual EloixClient.IndexServer.EditInfo onCreateDoc(EloixClient.IndexServer.IXServerEventsContext ec, String parentId, String maskId, String docTemplate, EloixClient.IndexServer.EditInfoZ editInfoZ) { BSyncResult <EloixClient.IndexServer.EditInfo> asyncResult = new BSyncResult <EloixClient.IndexServer.EditInfo>(); onCreateDoc(ec, parentId, maskId, docTemplate, editInfoZ, BAsyncResultHelper.ToDelegate <EloixClient.IndexServer.EditInfo>(asyncResult)); return(asyncResult.GetResult()); }