HttpModuleAction(String, String) 생성자

정의

전달된 매개 변수를 사용하여 클래스의 HttpModuleAction 새 인스턴스를 초기화합니다.

public:
 HttpModuleAction(System::String ^ name, System::String ^ type);
public HttpModuleAction(string name, string type);
new System.Web.Configuration.HttpModuleAction : string * string -> System.Web.Configuration.HttpModuleAction
Public Sub New (name As String, type As String)

매개 변수

name
String

모듈 이름입니다.

type
String

모듈 형식 이름과 어셈블리 정보를 포함하는 쉼표로 구분된 목록입니다.

예제

다음 코드 예제에서는 개체를 만드는 HttpModuleAction 방법을 보여줍니다.


// Initialize the module name and type properties.
newModuleAction.Name = "ModuleName";
newModuleAction.Type = "ModuleType";
' Initialize the module name and type properties.
newModuleAction.Name = "ModuleName"
newModuleAction.Type = "ModuleType"

설명

모듈 이름은 이벤트 처리기를 모듈 이벤트와 연결하는 데 사용할 수 있는 별칭입니다. ASP.NET 먼저 애플리케이션의 프라이빗 \bin 디렉터리에서 어셈블리 DLL을 검색한 다음 GAC(전역 어셈블리 캐시)에서 검색합니다.

적용 대상

추가 정보