Esempio n. 1
0
        private volatile bool _disposed = false; // To detect redundant calls.

        public WinHttpRequestState()
        {
#if DEBUG
            Interlocked.Increment(ref s_dbg_allocated);
#endif
            TransportContext = new WinHttpTransportContext();
        }
Esempio n. 2
0
        private volatile bool _disposed = false; // To detect redundant calls.

        public WinHttpRequestState()
        {
#if DEBUG
            Interlocked.Increment(ref s_dbg_allocated);
#endif
            TransportContext = new WinHttpTransportContext();
        }
Esempio n. 3
0
 public RequestState()
 {
     TransportContext = new WinHttpTransportContext();
 }
Esempio n. 4
0
        private volatile bool _disposed = false; // To detect redundant calls.

        public WinHttpRequestState()
        {
            TransportContext = new WinHttpTransportContext();
            _operationHandle = GCHandle.Alloc(this);
        }
Esempio n. 5
0
        private volatile bool _disposed = false; // To detect redundant calls.

        public WinHttpRequestState()
        {
            TransportContext = new WinHttpTransportContext();
            _operationHandle = GCHandle.Alloc(this);
        }