EventIdentifier 생성자 (Type, String)
지정된 기존 형식과 이벤트 이름을 사용하여 EventIdentifier 클래스의 새 인스턴스를 초기화합니다.
네임스페이스: Microsoft.Windows.Design.Metadata
어셈블리: Microsoft.Windows.Design.Extensibility(Microsoft.Windows.Design.Extensibility.dll)
구문
‘선언
Public Sub New ( _
declaringType As Type, _
name As String _
)
public EventIdentifier(
Type declaringType,
string name
)
public:
EventIdentifier(
Type^ declaringType,
String^ name
)
new :
declaringType:Type *
name:string -> EventIdentifier
public function EventIdentifier(
declaringType : Type,
name : String
)
매개 변수
- declaringType
형식: System.Type
이벤트가 선언되는 형식입니다.
- name
형식: System.String
이벤트의 이름입니다.
예외
예외 | 상황 |
---|---|
ArgumentNullException | declaringType 또는 name가 nullNull 참조(Visual Basic의 경우 Nothing)인 경우 |
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.