Requires.NotEmpty(Guid, String) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 매개 변수의 값이 인 경우 예외를 throw합니다 Empty.
public:
static void NotEmpty(Guid value, System::String ^ parameterName);
[System.Diagnostics.DebuggerStepThrough]
public static void NotEmpty(Guid value, string? parameterName);
[System.Diagnostics.DebuggerStepThrough]
public static void NotEmpty(Guid value, string? parameterName = default);
[<System.Diagnostics.DebuggerStepThrough>]
static member NotEmpty : Guid * string -> unit
Public Shared Sub NotEmpty (value As Guid, parameterName As String)
Public Shared Sub NotEmpty (value As Guid, Optional parameterName As String = Nothing)
매개 변수
- value
- Guid
인수 값입니다.
- parameterName
- String
throw된 예외에 포함할 매개 변수의 이름입니다. 이 인수를 생략하면(명시적으로 쓰기 null 가 적합하지 않음) 첫 번째 인수에 사용된 식이 매개 변수 이름으로 사용됩니다.
- 특성
예외
가 빈 guid(Empty.)이면 value throw됩니다.