다음을 통해 공유


StreamStorageMonitor<TKey>.ValidateLimits(Int32, Int64) Method

Definition

Validates the maxStreamCount and maxStorageSize parameters for the constructor. Public visibility so VS can pre-validate the parameters before sending them off to the VsHub service module, where invalid arguments will be much less visible.

public:
 static void ValidateLimits(int maxStreamCount, long maxStorageSize);
public:
 static void ValidateLimits(int maxStreamCount, long long maxStorageSize);
 static void ValidateLimits(int maxStreamCount, long maxStorageSize);
public static void ValidateLimits (int maxStreamCount, long maxStorageSize);
static member ValidateLimits : int * int64 -> unit
Public Shared Sub ValidateLimits (maxStreamCount As Integer, maxStorageSize As Long)

Parameters

maxStreamCount
Int32
maxStorageSize
Int64

Applies to