다음을 통해 공유


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 디렉터리에 먼저 고 전역 어셈블리 캐시 (GAC)에 어셈블리 DLL 검색합니다.

적용 대상

추가 정보