Microsoft.Protocols.TestSuites.MS_OXCRPC.MS_OXCRPCAdapter.EcDoAsyncConnectEx C# (CSharp) Method

EcDoAsyncConnectEx() public method

The method EcDoAsyncConnectEx binds a Session Context Handle (CXH) returned from method EcDoConnectEx to a new Asynchronous Context Handle (ACXH) that can be used in calls to EcDoAsyncWaitEx in interface AsyncEMSMDB.
public EcDoAsyncConnectEx ( IntPtr pcxh, IntPtr &pacxh ) : uint
pcxh System.IntPtr A unique value to be used as a CXH.
pacxh System.IntPtr An ACXH that is associated with the Session Context passed in parameter CXH.
return uint
        public uint EcDoAsyncConnectEx(IntPtr pcxh, ref IntPtr pacxh)
        {
            uint retValue = 0;
            try
            {
                retValue = NativeMethods.EcDoAsyncConnectEx(pcxh, ref pacxh);
                this.VerifyEcDoAsyncConnectEx(retValue, pacxh);
            }
            catch (SEHException e)
            {
                retValue = NativeMethods.RpcExceptionCode(e);
            }
                                                                                                                                                                                                
            return retValue;
        }