ProgressChangedEventArgs ProgressChangedEventArgs ProgressChangedEventArgs ProgressChangedEventArgs Class

정의

ProgressChanged 이벤트에 대한 데이터를 제공합니다.Provides data for the ProgressChanged event.

public ref class ProgressChangedEventArgs : EventArgs
public class ProgressChangedEventArgs : EventArgs
type ProgressChangedEventArgs = class
    inherit EventArgs
Public Class ProgressChangedEventArgs
Inherits EventArgs
상속
ProgressChangedEventArgsProgressChangedEventArgsProgressChangedEventArgsProgressChangedEventArgs
파생

예제

다음 코드 예제에서는 ProgressChangedEventArgs 클래스를 사용하는 방법을 보여 줍니다.The following code example shows how to use the ProgressChangedEventArgs class. 이 예제는에 대 한 보다 큰 예제의 일부는 BackgroundWorker 클래스입니다.This example is part of a larger example for the BackgroundWorker class.

// This event handler updates the progress bar.
void backgroundWorker1_ProgressChanged( Object^ /*sender*/, ProgressChangedEventArgs^ e )
{
   this->progressBar1->Value = e->ProgressPercentage;
}
// This event handler updates the progress bar.
private void backgroundWorker1_ProgressChanged(object sender,
    ProgressChangedEventArgs e)
{
    this.progressBar1.Value = e.ProgressPercentage;
}
' This event handler updates the progress bar.
Private Sub backgroundWorker1_ProgressChanged( _
ByVal sender As Object, ByVal e As ProgressChangedEventArgs) _
Handles backgroundWorker1.ProgressChanged

    Me.progressBar1.Value = e.ProgressPercentage

End Sub

생성자

ProgressChangedEventArgs(Int32, Object) ProgressChangedEventArgs(Int32, Object) ProgressChangedEventArgs(Int32, Object) ProgressChangedEventArgs(Int32, Object)

ProgressChangedEventArgs 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the ProgressChangedEventArgs class.

속성

ProgressPercentage ProgressPercentage ProgressPercentage ProgressPercentage

비동기 작업의 진행률을 가져옵니다.Gets the asynchronous task progress percentage.

UserState UserState UserState UserState

고유한 사용자 상태를 가져옵니다.Gets a unique user state.

메서드

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

지정한 개체와 현재 개체가 같은지 여부를 확인합니다.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

기본 해시 함수로 작동합니다.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

현재 개체를 나타내는 문자열을 반환합니다.Returns a string that represents the current object.

(Inherited from Object)

적용 대상

추가 정보