Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets a flag that specifies the type of the module in the current metadata scope, and registers the specified callback method for validation errors.
HRESULT ValidatorInit (
   [in] DWORD       dwModuleType,
   [in] IUnknown    *pUnk
);
Parameters
dwModule
[in] A value of the CorValidatorModuleType enumeration that specifies the type of the module in the current metadata scope.pUnk
[in] A pointer to an IUnknown instance that serves as a function callback for validation errors.
Requirements
Platforms: See .NET Framework System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0