SmtpClient.OnSendCompleted(AsyncCompletedEventArgs) 메서드

정의

SendCompleted 이벤트를 발생시킵니다.

protected:
 void OnSendCompleted(System::ComponentModel::AsyncCompletedEventArgs ^ e);
protected void OnSendCompleted (System.ComponentModel.AsyncCompletedEventArgs e);
member this.OnSendCompleted : System.ComponentModel.AsyncCompletedEventArgs -> unit
Protected Sub OnSendCompleted (e As AsyncCompletedEventArgs)

매개 변수

e
AsyncCompletedEventArgs

이벤트 데이터가 포함된 AsyncCompletedEventArgs입니다.

설명

클래스에서 상속 하는 클래스를 재정의 SmtpClientOnSendCompleted 할 수는 이벤트가 발생할 때 SendCompleted 추가 작업을 수행 하는 메서드입니다.

OnSendCompleted 또한 파생 클래스는 대리자를 연결하지 않고 처리 SendCompleted 할 수 있습니다. 이는 파생 클래스에서 처리하는 데 SendCompleted 선호되는 기술입니다.

상속자 참고

파생 클래스에서 재정의하는 OnSendCompleted(AsyncCompletedEventArgs) 경우 등록된 대리자에서 이벤트를 받을 수 있도록 기본 클래스의 OnSendCompleted(AsyncCompletedEventArgs) 메서드를 SendCompleted 호출해야 합니다.

적용 대상