Bagikan melalui


ConditionalEventArgs Kelas

Definisi

Perhatian

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Mengembalikan informasi hasil untuk CodeCondition kelas . Kelas ini tidak dapat diwariskan.

public ref class ConditionalEventArgs sealed : EventArgs
[System.Serializable]
public sealed class ConditionalEventArgs : EventArgs
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ConditionalEventArgs : EventArgs
[<System.Serializable>]
type ConditionalEventArgs = class
    inherit EventArgs
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ConditionalEventArgs = class
    inherit EventArgs
Public NotInheritable Class ConditionalEventArgs
Inherits EventArgs
Warisan
ConditionalEventArgs
Atribut

Keterangan

Nota

Materi ini membahas jenis dan namespace yang usang. Untuk informasi selengkapnya, lihat Tipe Yang Tidak Digunakan Lagi di Windows Workflow Foundation 4.5.

Kelas CodeCondition mengekspos peristiwa jenis EventHandler<ConditionalEventArgs>. Tujuan dari peristiwa ini adalah untuk memberikan informasi tentang hasil evaluasi kondisi (true atau false) melalui Result properti arg peristiwa.

Konstruktor

Nama Deskripsi
ConditionalEventArgs()
Kedaluwarsa.

Menginisialisasi instans baru dari kelas ConditionalEventArgs.

ConditionalEventArgs(Boolean)
Kedaluwarsa.

Menginisialisasi instans ConditionalEventArgs baru kelas menggunakan hasil kondisi.

Properti

Nama Deskripsi
Result
Kedaluwarsa.

Mendapatkan atau mengatur hasil CodeCondition evaluasi.

Metode

Nama Deskripsi
Equals(Object)
Kedaluwarsa.

Menentukan apakah objek yang ditentukan sama dengan objek saat ini.

(Diperoleh dari Object)
GetHashCode()
Kedaluwarsa.

Berfungsi sebagai fungsi hash default.

(Diperoleh dari Object)
GetType()
Kedaluwarsa.

Mendapatkan Type instans saat ini.

(Diperoleh dari Object)
MemberwiseClone()
Kedaluwarsa.

Membuat salinan dangkal dari Objectsaat ini.

(Diperoleh dari Object)
ToString()
Kedaluwarsa.

Mengembalikan string yang mewakili objek saat ini.

(Diperoleh dari Object)

Berlaku untuk