ClientBuildManager.CreateObject(Type, Boolean) 메서드

정의

ASP.NET 런타임의 애플리케이션 도메인에 개체를 만듭니다.

public:
 System::Web::Hosting::IRegisteredObject ^ CreateObject(Type ^ type, bool failIfExists);
public System.Web.Hosting.IRegisteredObject CreateObject(Type type, bool failIfExists);
member this.CreateObject : Type * bool -> System.Web.Hosting.IRegisteredObject
Public Function CreateObject (type As Type, failIfExists As Boolean) As IRegisteredObject

매개 변수

type
Type

만들 개체의 형식입니다.

failIfExists
Boolean

ASP.NET 런타임의 애플리케이션 도메인에서 개체가 이미 만들어진 경우 예외를 throw하도록 true, 그렇지 않으면 false.

반품

ASP.NET 런타임의 애플리케이션 도메인에 있는 개체입니다.

예외

typenull입니다.

개체가 애플리케이션 도메인에 이미 있으며 failIfExiststrue.

적용 대상

추가 정보