Class CapturedTcpConnectionProvider
public class CapturedTcpConnectionProvider : ITcpConnectionProvider, IAsyncDisposable
- Inheritance
-
CapturedTcpConnectionProvider
- Implements
- Inherited Members
Properties
RequiresArchiveWriter
When true, this provider cannot function without a writable archive and may be ignored when the archiving policy is None. Custom providers return false and are always honored.
public bool RequiresArchiveWriter { get; }
Property Value
Methods
Create(ProxyScope, bool)
public static Task<ITcpConnectionProvider> Create(ProxyScope scope, bool outOfProcCapture)
Parameters
scopeProxyScopeoutOfProcCapturebool
Returns
Create(string)
public ITcpConnection Create(string dumpFileName)
Parameters
dumpFileNamestring
Returns
CreateInProcessCapture()
public static Task<ITcpConnectionProvider> CreateInProcessCapture()
Returns
DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
public ValueTask DisposeAsync()
Returns
- ValueTask
A task that represents the asynchronous dispose operation.
TryFlush()
public void TryFlush()