AssemblyName._AssemblyName.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Método
Definición
Proporciona acceso a las propiedades y los métodos expuestos por un objeto.Provides access to properties and methods exposed by an object.
virtual void System.Runtime.InteropServices._AssemblyName.Invoke(System::UInt32 dispIdMember, Guid % riid, System::UInt32 lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr) = System::Runtime::InteropServices::_AssemblyName::Invoke;
void _AssemblyName.Invoke (uint dispIdMember, ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
abstract member System.Runtime.InteropServices._AssemblyName.Invoke : uint32 * Guid * uint32 * int16 * nativeint * nativeint * nativeint * nativeint -> unit
override this.System.Runtime.InteropServices._AssemblyName.Invoke : uint32 * Guid * uint32 * int16 * nativeint * nativeint * nativeint * nativeint -> unit
Sub Invoke (dispIdMember As UInteger, ByRef riid As Guid, lcid As UInteger, wFlags As Short, pDispParams As IntPtr, pVarResult As IntPtr, pExcepInfo As IntPtr, puArgErr As IntPtr) Implements _AssemblyName.Invoke
Parámetros
- dispIdMember
- UInt32
Identifica el miembro.Identifies the member.
- riid
- Guid
Reservado para un uso futuro.Reserved for future use. Debe ser IID_NULL.Must be IID_NULL.
- lcid
- UInt32
Contexto de la configuración regional en que se interpretan los argumentos.The locale context in which to interpret arguments.
- wFlags
- Int16
Marcas que describen el contexto de la llamada.Flags describing the context of the call.
- pDispParams
- IntPtr
Puntero a una estructura que contiene una matriz de argumentos, una matriz de valores DispID de argumento para argumentos con nombre y recuentos del número de elementos de cada matriz.Pointer to a structure containing an array of arguments, an array of argument DispIDs for named arguments, and counts for the number of elements in the arrays.
- pVarResult
- IntPtr
Puntero a la ubicación donde se va a almacenar el resultado.Pointer to the location where the result is to be stored.
- pExcepInfo
- IntPtr
Puntero a una estructura que contiene información de excepciones.Pointer to a structure that contains exception information.
- puArgErr
- IntPtr
Índice del primer argumento que tiene un error.The index of the first argument that has an error.
Implementaciones
Excepciones
No se admite el acceso enlazado en tiempo de ejecución mediante la interfaz IDispatch
de COM.Late-bound access using the COM IDispatch
interface is not supported.
Comentarios
Este método es para el acceso a las clases administradas desde código no administrado y no debe llamarse desde el código administrado.This method is for access to managed classes from unmanaged code, and should not be called from managed code. Para obtener más información, vea IDispatch:: Invoke.For more information, see IDispatch::Invoke.