EndpointMetadataCollection.GetRequiredMetadata<T> 메서드

정의

형식 T의 가장 중요한 메타데이터 항목을 가져옵니다. 메타데이터를 InvalidOperationException 찾을 수 없으면 을 throw합니다.

public T GetRequiredMetadata<T> () where T : class;
member this.GetRequiredMetadata : unit -> 'T (requires 'T : null)
Public Function GetRequiredMetadata(Of T As Class) () As T

형식 매개 변수

T

검색할 메타데이터의 형식입니다.

반환

T

형식 T의 가장 중요한 메타데이터입니다.

적용 대상