33 references to RequestQueueMode
Microsoft.AspNetCore.Server.HttpSys (11)
HttpSysListener.cs (4)
145
if (Options.RequestQueueMode ==
RequestQueueMode
.Create || Options.RequestQueueMode ==
RequestQueueMode
.CreateOrAttach)
192
if (Options.RequestQueueMode ==
RequestQueueMode
.Create || Options.RequestQueueMode ==
RequestQueueMode
.CreateOrAttach)
HttpSysOptions.cs (1)
63
public
RequestQueueMode
RequestQueueMode { get; set; }
NativeInterop\RequestQueue.cs (6)
14
private readonly
RequestQueueMode
_mode;
19
: this(requestQueueName,
RequestQueueMode
.Attach, logger, receiver: true)
23
internal RequestQueue(string? requestQueueName,
RequestQueueMode
mode, ILogger logger)
27
private RequestQueue(string? requestQueueName,
RequestQueueMode
mode, ILogger logger, bool receiver)
35
if (_mode ==
RequestQueueMode
.Attach)
52
if (_mode ==
RequestQueueMode
.CreateOrAttach && statusCode == ErrorCodes.ERROR_ALREADY_EXISTS)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (16)
DelegateTests.cs (1)
257
options.RequestQueueMode =
RequestQueueMode
.CreateOrAttach;
Listener\AuthenticationOnExistingQueueTests.cs (3)
17
options.RequestQueueMode =
RequestQueueMode
.Attach;
26
options.RequestQueueMode =
RequestQueueMode
.CreateOrAttach;
35
options.RequestQueueMode =
RequestQueueMode
.CreateOrAttach;
Listener\ServerOnExistingQueueTests.cs (3)
255
options.RequestQueueMode =
RequestQueueMode
.CreateOrAttach;
277
options.RequestQueueMode =
RequestQueueMode
.CreateOrAttach;
297
options.RequestQueueMode =
RequestQueueMode
.CreateOrAttach;
Listener\Utilities.cs (1)
99
options.RequestQueueMode =
RequestQueueMode
.Attach;
ServerTests.cs (8)
40
[InlineData(
RequestQueueMode
.Attach)]
41
[InlineData(
RequestQueueMode
.CreateOrAttach)]
42
public async Task Server_ConnectExistingQueueName_Success(
RequestQueueMode
queueMode)
78
case
RequestQueueMode
.Attach:
82
case
RequestQueueMode
.CreateOrAttach:
599
[InlineData(
RequestQueueMode
.Attach)]
600
[InlineData(
RequestQueueMode
.CreateOrAttach)]
601
public async Task Server_AttachToExistingQueue_NoIServerAddresses_NoDefaultAdded(
RequestQueueMode
queueMode)
QueueSharing (6)
Program.cs (6)
23
var
mode =
RequestQueueMode
.Create;
27
mode =
RequestQueueMode
.Attach;
30
mode =
RequestQueueMode
.CreateOrAttach;
33
mode =
RequestQueueMode
.Create;
47
if (mode !=
RequestQueueMode
.Attach)