메소드 | 설명 | |
---|---|---|
DecreasePoolSize ( int decreaseBy = 1 ) : void |
Decreases the size of the pool.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
GetAvailableWorkItemStoresCount ( ) : int |
Gets the available work item stores count.
|
|
GetUsedWorkItemStoresCount ( ) : int |
Gets the used work item stores count.
|
|
IncreasePoolSize ( int increaseBy = 1 ) : void |
Increases the size of the pool.
|
|
TryGetWorkItemStore ( ) : |
Tries to get and reserve an avalable, pooled T:Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore. Important: Use the using(..) construct or call .Dispose() when done to release the work item store back to the pool.
|
|
WorkItemStoreConnectionPool ( TfsTeamProjectCollection tfsTeamProjectCollection, int amountOfPooledConnections = 2 ) : System |
Initializes a new instance of the WorkItemStoreConnectionPool class.
|
메소드 | 설명 | |
---|---|---|
IsDisposing ( ) : bool |
Determines whether this instance is disposing.
|
|
TryReleaseWorkItemStore ( |
Tries the release.
|
public DecreasePoolSize ( int decreaseBy = 1 ) : void | ||
decreaseBy | int | The amount of stores to decrease the pool by. |
리턴 | void |
public IncreasePoolSize ( int increaseBy = 1 ) : void | ||
increaseBy | int | The amount of stores to increase the pool by. |
리턴 | void |
public TryGetWorkItemStore ( ) : |
||
리턴 |
public WorkItemStoreConnectionPool ( TfsTeamProjectCollection tfsTeamProjectCollection, int amountOfPooledConnections = 2 ) : System | ||
tfsTeamProjectCollection | TfsTeamProjectCollection | The TFS team project collection. |
amountOfPooledConnections | int | The amount of pooled connections. |
리턴 | System |