C# 클래스 Polly.Bulkhead.BulkheadPolicy

파일 보기 프로젝트 열기: App-vNext/Polly

공개 메소드들

메소드 설명
Dispose ( ) : void

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.

비공개 메소드들

메소드 설명
BulkheadPolicy ( Action exceptionPolicy, int maxParallelization, int maxQueueingActions, Nito.AsyncEx.AsyncSemaphore maxParallelizationSemaphore, Nito.AsyncEx.AsyncSemaphore maxQueuedActionsSemaphore ) : System
BulkheadPolicy ( Task>.Func asyncExceptionPolicy, int maxParallelization, int maxQueueingActions, Nito.AsyncEx.AsyncSemaphore maxParallelizationSemaphore, Nito.AsyncEx.AsyncSemaphore maxQueuedActionsSemaphore ) : System

메소드 상세

Dispose() 공개 메소드

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.
public Dispose ( ) : void
리턴 void