IRemoteEventInfoContract.GetRemoveMethod Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Returnerar den metod som användes för att ta bort ett händelsehanterardelegat från händelsen som detta IRemoteEventInfoContract identifierar.
public:
System::AddIn::Contract::Automation::IRemoteMethodInfoContract ^ GetRemoveMethod();
public System.AddIn.Contract.Automation.IRemoteMethodInfoContract GetRemoveMethod();
abstract member GetRemoveMethod : unit -> System.AddIn.Contract.Automation.IRemoteMethodInfoContract
Public Function GetRemoveMethod () As IRemoteMethodInfoContract
Returer
En IRemoteMethodInfoContract som representerar den metod som användes för att ta bort ett händelsehanterardelegat från händelsen som detta IRemoteEventInfoContract identifierar.
Kommentarer
Om du vill ta bort ett ombud från händelsen anropar Invoke du metoden för den IRemoteMethodInfoContract som GetRemoveMethod returneras. Skicka ett IRemoteDelegateContract som representerar ombudet till parametern parametersInvoke.