Ejemplo n.º 1
0
        public NspiStatus QueryRows(NspiQueryRowsFlags flags, int[] mids, int count, IList <PropTag> propTags, out PropRowSet rowset)
        {
            int[] intArrayFromPropTagArray = NspiClient.GetIntArrayFromPropTagArray(propTags);
            this.MarshalStatToNative();
            SafeRpcMemoryHandle rowsetHandle;
            NspiStatus          result = this.client.QueryRows(flags, this.statHandle.DangerousGetHandle(), mids, count, intArrayFromPropTagArray, out rowsetHandle);

            this.MarshalNativeToStat();
            rowset = NspiClient.GetRowSetAndDisposeHandle(rowsetHandle);
            return(result);
        }
Ejemplo n.º 2
0
 public NspiQueryRowsDispatchTask(CancelableAsyncCallback asyncCallback, object asyncState, ProtocolRequestInfo protocolRequestInfo, NspiContext context, NspiQueryRowsFlags flags, NspiState state, int[] mids, int rowCount, PropertyTag[] propertyTags) : base(asyncCallback, asyncState, protocolRequestInfo, context, state)
 {
     this.flags        = flags;
     this.mids         = mids;
     this.rowCount     = rowCount;
     this.propertyTags = propertyTags;
 }
 // Token: 0x06000179 RID: 377 RVA: 0x000076C4 File Offset: 0x000058C4
 public ICancelableAsyncResult BeginQueryRows(ProtocolRequestInfo protocolRequestInfo, IntPtr contextHandle, NspiQueryRowsFlags flags, NspiState state, int[] mids, int rowCount, PropertyTag[] propTags, CancelableAsyncCallback asyncCallback, object asyncState)
 {
     return(this.BeginContextWrapper("BeginQueryRows", asyncCallback, asyncState, contextHandle, (NspiContext context) => new NspiQueryRowsDispatchTask(asyncCallback, asyncState, protocolRequestInfo, context, flags, state, mids, rowCount, propTags)));
 }