MimeFormatter.CreateInstance(Type, Object) 메서드

정의

에서 파생 MimeFormatter된 구체적인 클래스의 인스턴스를 만들고 초기화합니다.

public:
 static System::Web::Services::Protocols::MimeFormatter ^ CreateInstance(Type ^ type, System::Object ^ initializer);
public static System.Web.Services.Protocols.MimeFormatter CreateInstance(Type type, object initializer);
static member CreateInstance : Type * obj -> System.Web.Services.Protocols.MimeFormatter
Public Shared Function CreateInstance (type As Type, initializer As Object) As MimeFormatter

매개 변수

type
Type

인스턴스를 만들 형식( MimeFormatter파생)입니다.

initializer
Object

메서드의 파생 클래스 구현 GetInitializer(LogicalMethodInfo) 을 통해 이전에 가져온 인스턴스를 초기화하는 데 사용되는 개체입니다.

반품

MimeFormatter 개체입니다.

설명

이 메서드는 CreateInstance 파생 클래스의 인스턴스를 만들고 추상 Initialize 메서드의 파생 클래스 구현을 호출합니다. CreateInstance 요청 또는 응답이 처리될 때 메서드가 호출됩니다.

이니셜라이저는 메서드에 매개 변수로 전달되는 개체입니다 Initialize . 메서드에 매개 변수 CreateInstance 로 전달된 이니셜라이저는 클라이언트 또는 서비스 초기화 중에 메서드를 호출하여 GetInitializer 파생 클래스의 다른 인스턴스에서 가져옵니다.

적용 대상