2 writes to _context
System.Web (2)
Hosting\IIS7WorkerRequest.cs (2)
115
_context
= requestContext;
239
_context
= IntPtr.Zero;
81 references to _context
System.Web (81)
Hosting\IIS7WorkerRequest.cs (81)
124
IIS.MgdGetRequestTraceGuid(
_context
, out _traceId);
132
if (
_context
== IntPtr.Zero ) {
136
return
_context
;
147
int hr = IIS.MgdGetRequestBasics(
_context
, out _contentType, out _contentTotalLength, out pathTranslatedBuffer, out pathTranslatedBufferSize, out cacheUrl, out cacheUrlBufferSize, out httpMethodPtr, out pCookedUrl);
199
int hr = IIS.MgdGetApplicationInfo(
_context
,
238
originalContext =
_context
;
267
if (_traceEnabled &&
_context
!= IntPtr.Zero) {
272
IIS.MgdEmitSimpleTrace(
_context
, (int)traceType, message);
278
if (_traceEnabled &&
_context
!= IntPtr.Zero) {
286
IIS.MgdEmitWebEventTrace(
_context
, webEventType, fieldCount, fieldNames, fieldTypes, fieldData);
297
int hr = IIS.MgdGetUriPath(
_context
,
379
return IIS.MgdGetRemotePort(
_context
);
387
return IIS.MgdGetLocalPort(
_context
);
431
int hresult = IIS.MgdGetPreloadedSize(
_context
, out availSize);
477
result = IIS.MgdReadEntityBody(
_context
,
530
if (
_context
== IntPtr.Zero) {
543
int hresult = IIS.MgdExplicitFlush(
_context
, async, out completedSynchronously);
622
int hresult = IIS.MgdReadEntityBody(
_context
,
684
int hr = UnsafeIISMethods.MgdGetCorrelationIdHeader(
_context
, out correlationIdStringPtr, out correlationIdStringLength, out isWcfFormat);
783
int hr = IIS.MgdSetStatusW(
_context
,
836
return (!_connectionClosed && IIS.MgdIsClientConnected(
_context
));
865
if (
_context
== IntPtr.Zero) {
871
int hr = IIS.MgdConfigureAsyncDisconnectNotification(
_context
, true /* fEnabled */, out isClientConnected);
897
return IIS.MgdIsHandlerExecutionDenied(
_context
);
908
if (
_context
!= IntPtr.Zero) {
909
IIS.MgdAbortConnection(
_context
);
916
IIS.MgdCloseConnection(
_context
);
922
int result = IIS.MgdGetUserToken(
_context
, out token );
929
int result = IIS.MgdGetVirtualToken(
_context
, out token );
1125
int result = IIS.MgdPushPromise(
_context
,
1154
int retval = IIS.MgdGetServerVariableA(
_context
,
1172
int retval = IIS.MgdGetServerVariableW(
_context
,
1191
int retval = IIS.MgdGetCurrentModuleName(
_context
,
1208
int retval = IIS.MgdGetUserAgent(
_context
,
1226
int retval = IIS.MgdGetCookieHeader(
_context
,
1333
if (
_context
== IntPtr.Zero )
1410
if (
_context
== IntPtr.Zero )
1418
_context
,
1467
int result = IIS.MgdGetPreloadedContent(
_context
, buffer, offset, length, out bytesReceived);
1495
int result = IIS.MgdSetKernelCachePolicy(
_context
, secondsToLive);
1510
IIS.MgdDisableKernelCache(
_context
);
1516
IIS.MgdDisableUserCache(
_context
);
1537
int result = IIS.MgdReMapHandler(
_context
,
1577
int result = IIS.MgdMapHandler(
_context
,
1598
int result = IIS.MgdGetHandlerTypeString(
_context
,
1611
int result = IIS.MgdSetRemapHandler(
_context
,
1618
int result = IIS.MgdSetScriptMapForRemapHandler(
_context
);
1630
if(IntPtr.Zero !=
_context
) {
1637
IIS.MgdRewriteUrl(
_context
, url, null != newQueryString);
1647
IIS.MgdDisableNotifications(
_context
, notifications, postNotifications);
1651
IIS.MgdSuppressSendResponseNotifications(
_context
);
1659
IIS.MgdClearResponse(
_context
, clearEntity, clearHeaders);
1669
int result = IIS.MgdGetStatusChanges(
_context
, out status, out subStatus, out buffer, out bufLen);
1684
return IIS.MgdAllocateRequestMemory(
_context
, size);
1708
_context
,
1740
_context
,
1845
result = IIS.MgdGetFileChunkInfo(
_context
, i, out offset, out bytesToRead);
1869
result = IIS.MgdReadChunkHandle(
_context
, fragments[i], offset, ref readSize, elem.FreeLocation);
1900
int result = IIS.MgdGetResponseChunks(
_context
,
1934
IIS.MgdGetAnonymousUserToken(
_context
, out token); // Do nothing on failure. Fallback to the default behavior
1952
_context
,
1973
IIS.MgdSetResponseFilter(
_context
);
1977
if (IIS.MgdIsClientConnected(
_context
)) {
1992
int result = IIS.MgdExplicitFlush(
_context
, async, out completedSynchronously);
2003
int result = IIS.MgdSetServerVariableW(
_context
, name, value);
2026
int result = IIS.MgdSetKnownHeader(
_context
, true /*fRequest*/, replace, (ushort)index, valueBytes, (ushort)valueLength);
2036
int result = IIS.MgdSetUnknownHeader(
_context
, true /*fRequest*/, replace, nameBytes, valueBytes, (ushort)valueLength);
2060
int result = IIS.MgdSetKnownHeader(
_context
, false /*fRequest*/, replace, (ushort)index, valueBytes, (ushort)valueLength);
2076
int result = IIS.MgdSetUnknownHeader(
_context
, false /*fRequest*/, replace, nameBytes, valueBytes, (ushort)valueLength);
2087
int result = IIS.MgdGetServerVarChanges(
_context
,
2127
int result = IIS.MgdGetHeaderChanges(
_context
,
2242
int result = IIS.MgdGetPrincipal(
_context
,
2311
int result = IIS.MgdIsInRole(
_context
,
2388
int result = IIS.MgdExecuteUrl(
_context
,
2484
int hr = IIS.MgdGetClientCertificate(
_context
,
2515
TlsTokenBindingHandle handle = new TlsTokenBindingHandle(
_context
);
2573
hr = IIS.MgdGetChannelBindingToken(
_context
, out token, out tokenSize);
2584
int hr = IIS.MgdInsertEntityBody(
_context
, buffer, offset, count);
2600
int hr = IIS.MgdAcceptWebSocket(
_context
);
2606
int hr = IIS.MgdGetWebSocketContext(
_context
, out pWebSocketContext);
2620
int hr = IIS.MgdGetIsChildContext(
_context
, out isChildRequest);