다음을 통해 공유


SerializableErrorWrapperProviderFactory.GetProvider 메서드

정의

제공된 DeclaredTypecontext가 인 경우 의 SerializableErrorWrapperProvider instance 만듭니다SerializableError.

public:
 virtual Microsoft::AspNetCore::Mvc::Formatters::Xml::IWrapperProvider ^ GetProvider(Microsoft::AspNetCore::Mvc::Formatters::Xml::WrapperProviderContext ^ context);
public Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider GetProvider (Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext context);
public Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider? GetProvider (Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext context);
abstract member GetProvider : Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext -> Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider
override this.GetProvider : Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext -> Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider
Public Function GetProvider (context As WrapperProviderContext) As IWrapperProvider

매개 변수

반환

제공된 contextDeclaredType 가 이면 의 SerializableErrorWrapperProvider instance 이고, 그렇지 않으면 null입니다SerializableError.

구현

적용 대상