Disposes of the BulkheadPolicy, allowing it to dispose its internal resources. Only call Dispose() on a BulkheadPolicy after all actions executed through the policy have completed. If actions are still executing through the policy when Dispose() is called, an ObjectDisposedException may be thrown on the actions' threads when those actions complete.
Private Methods
Méthode
Description
BulkheadPolicy ( ActionexceptionPolicy, intmaxParallelization, intmaxQueueingActions, Nito.AsyncEx.AsyncSemaphoremaxParallelizationSemaphore, Nito.AsyncEx.AsyncSemaphoremaxQueuedActionsSemaphore ) : System
BulkheadPolicy ( Task>.FuncasyncExceptionPolicy, intmaxParallelization, intmaxQueueingActions, Nito.AsyncEx.AsyncSemaphoremaxParallelizationSemaphore, Nito.AsyncEx.AsyncSemaphoremaxQueuedActionsSemaphore ) : System
Method Details
Dispose()
publicméthode
Disposes of the BulkheadPolicy, allowing it to dispose its internal resources. Only call Dispose() on a BulkheadPolicy after all actions executed through the policy have completed. If actions are still executing through the policy when Dispose() is called, an ObjectDisposedException may be thrown on the actions' threads when those actions complete.