IRemoteEventInfoContract.GetAddMethod 메서드

정의

식별 IRemoteEventInfoContract 되는 이벤트에 이벤트 처리기 대리자를 추가하는 데 사용된 메서드를 반환합니다.

public:
 System::AddIn::Contract::Automation::IRemoteMethodInfoContract ^ GetAddMethod();
public System.AddIn.Contract.Automation.IRemoteMethodInfoContract GetAddMethod();
abstract member GetAddMethod : unit -> System.AddIn.Contract.Automation.IRemoteMethodInfoContract
Public Function GetAddMethod () As IRemoteMethodInfoContract

반품

IRemoteMethodInfoContract 식별되는 이벤트에 IRemoteEventInfoContract 이벤트 처리기 대리자를 추가하는 데 사용된 메서드를 나타내는 값입니다.

설명

이벤트에 대리자를 추가하려면 반환되는 Invoke 메서드를 IRemoteMethodInfoContractGetAddMethod 호출합니다. IRemoteDelegateContract 대리자를 나타내는 값을 .의 Invoke매개 변수에 parameters 전달합니다.

적용 대상