Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFProgressEventArgs Class

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFProgressEventArgs Class
Provides data for a progress event.

Inheritance Hierarchy

SystemObject
  SystemEventArgs
    OSIsoft.AFAFProgressEventArgs

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public sealed class AFProgressEventArgs : EventArgs
Public NotInheritable Class AFProgressEventArgs
	Inherits EventArgs

Dim instance As AFProgressEventArgs
public ref class AFProgressEventArgs sealed : public EventArgs
[<SealedAttribute>]
type AFProgressEventArgs =  
    class
        inherit EventArgs
    end

The AFProgressEventArgs type exposes the following members.

Constructors

  NameDescription
Public method
AFProgressEventArgs(AFProgressStatus, AFIdentity, Guid, String)
Initializes a new instance of the AFProgressEventArgs class.
Public method
AFProgressEventArgs(AFProgressStatus, AFIdentity, Guid, String, Int32, Int32, Object)
Initializes a new instance of the AFProgressEventArgs class.

Properties

  NameDescription
Public property
Cancel
Set to to cancel the entire operation.
Public property
CancelNext
Set to to cancel the next step of this operation.
Public property
CanContinue
Set to when an error has occurred that can be continued.
Public property
CurrentLineNumber
The line number from the source file associated with this progress update, if any.
Public property
CurrentPosition
The position in the line from the source file associated with this progress update, if any.
Public property
ID
The ID of the object that is being operated on.
Public property
Identity
The Identity of the object being operated on.
Public property
OperationsCompleted
Gets the number of operations completed.
Public property
Status
Gets the status of the current operation.
Public property
Tag
The object that is associated with this progress event.

Methods

  NameDescription
Public method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method
FindObject
Retrieves the AFObject associated with the event.
Public method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
ToString
Returns a String that represents the current object.
(Overrides ObjectToString.)

Remarks

This event is used to provide progress status for an operation. For example, the ImportXml and ExportXml utilize this method to indicate the status of those respective operations. Calling the ToString method will display status information about the current event.

Version Information

AFSDK


See Also

TitleResults for “How to create a CRG?”Also Available in