IRemoteEventInfoContract.GetRemoveMethod Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bunun tanımladığı olaydan IRemoteEventInfoContract bir olay işleyicisi temsilcisini kaldırmak için kullanılan yöntemi döndürür.
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
Döndürülenler
Bir IRemoteMethodInfoContract olay işleyicisi temsilcisini tanımlandığı IRemoteEventInfoContract olaydan kaldırmak için kullanılan yöntemi temsil eden.
Açıklamalar
Bir temsilciyi olaydan kaldırmak için, döndüren GetRemoveMethod yöntemini IRemoteMethodInfoContract çağırınInvoke. Temsilcisini parameters
temsil eden bir IRemoteDelegateContract öğesini parametresine Invokegeçirin.