ProgressChangedEventArgs Class

Definition

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
Inheritance
ProgressChangedEventArgs
Derived

Examples

다음 코드 예제에서는 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

Constructors

ProgressChangedEventArgs(Int32, Object)

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

Properties

ProgressPercentage

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

UserState

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

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

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

(Inherited from Object)
GetType()

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

(Inherited from Object)
MemberwiseClone()

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

(Inherited from Object)
ToString()

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

(Inherited from Object)

Applies to

See also