MetadataBuilder.AddCustomDebugInformation(EntityHandle, GuidHandle, BlobHandle) Método
Definición
Agrega información de depuración personalizada.Adds custom debug information.
public:
System::Reflection::Metadata::CustomDebugInformationHandle AddCustomDebugInformation(System::Reflection::Metadata::EntityHandle parent, System::Reflection::Metadata::GuidHandle kind, System::Reflection::Metadata::BlobHandle value);
public System.Reflection.Metadata.CustomDebugInformationHandle AddCustomDebugInformation (System.Reflection.Metadata.EntityHandle parent, System.Reflection.Metadata.GuidHandle kind, System.Reflection.Metadata.BlobHandle value);
member this.AddCustomDebugInformation : System.Reflection.Metadata.EntityHandle * System.Reflection.Metadata.GuidHandle * System.Reflection.Metadata.BlobHandle -> System.Reflection.Metadata.CustomDebugInformationHandle
Public Function AddCustomDebugInformation (parent As EntityHandle, kind As GuidHandle, value As BlobHandle) As CustomDebugInformationHandle
Parámetros
- parent
- EntityHandle
Una entidad a la que se va a adjuntar la información de depuración: MethodDefinitionHandle, FieldDefinitionHandle, TypeReferenceHandle, TypeDefinitionHandle, ParameterHandle, InterfaceImplementationHandle, MemberReferenceHandle, ModuleDefinitionHandle, DeclarativeSecurityAttributeHandle, PropertyDefinitionHandle, EventDefinitionHandle, StandaloneSignatureHandle, ModuleReferenceHandle, TypeSpecificationHandle, AssemblyDefinitionHandle, AssemblyReferenceHandle, AssemblyFileHandle, ExportedTypeHandle, ManifestResourceHandle, GenericParameterHandle, GenericParameterConstraintHandle, MethodSpecificationHandle, DocumentHandle, LocalScopeHandle, LocalVariableHandle, LocalConstantHandle, o bien ImportScopeHandle.An entity to attach the debug information to: a MethodDefinitionHandle, FieldDefinitionHandle, TypeReferenceHandle, TypeDefinitionHandle, ParameterHandle, InterfaceImplementationHandle, MemberReferenceHandle, ModuleDefinitionHandle, DeclarativeSecurityAttributeHandle, PropertyDefinitionHandle, EventDefinitionHandle, StandaloneSignatureHandle, ModuleReferenceHandle, TypeSpecificationHandle, AssemblyDefinitionHandle, AssemblyReferenceHandle, AssemblyFileHandle, ExportedTypeHandle, ManifestResourceHandle, GenericParameterHandle, GenericParameterConstraintHandle, MethodSpecificationHandle, DocumentHandle, LocalScopeHandle, LocalVariableHandle, LocalConstantHandle, or a ImportScopeHandle.
- kind
- GuidHandle
El tipo de información.The information kind. Determina la estructura del blob value
.Determines the structure of the value
blob.
- value
- BlobHandle
El blob de información de depuración personalizada.The custom debug information blob.
Devoluciones
Un identificador de la información de depuración personalizada agregada.A handle to the added custom debug information.
Excepciones
parent
no tiene el tipo de identificador esperado.parent
doesn't have the expected handle kind.
Comentarios
Las entradas se pueden agregar en cualquier orden.Entries may be added in any order. La tabla se ordena automáticamente cuando se serializa.The table is automatically sorted when serialized.