AFProgressEventArgs Constructor (AFProgressStatus, AFIdentity, Guid, String, Int32, Int32, Object)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Initializes a new instance of the AFProgressEventArgs class.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFProgressEventArgs( AFProgressStatus status, AFIdentity identity, Guid id, string statusText, int lineNumber, int pos, Object tag )
Public Sub New ( status As AFProgressStatus, identity As AFIdentity, id As Guid, statusText As String, lineNumber As Integer, pos As Integer, tag As Object ) Dim status As AFProgressStatus Dim identity As AFIdentity Dim id As Guid Dim statusText As String Dim lineNumber As Integer Dim pos As Integer Dim tag As Object Dim instance As New AFProgressEventArgs(status, identity, id, statusText, lineNumber, pos, tag)
public: AFProgressEventArgs( AFProgressStatus status, AFIdentity identity, Guid id, String^ statusText, int lineNumber, int pos, Object^ tag )
new : status : AFProgressStatus * identity : AFIdentity * id : Guid * statusText : string * lineNumber : int * pos : int * tag : Object -> AFProgressEventArgs
Parameters
- status
- Type: OSIsoft.AFAFProgressStatus
The current status of the operation progress. - identity
- Type: OSIsoft.AFAFIdentity
The Identity of the object that is being operated on. - id
- Type: SystemGuid
The ID of the object that is being operated on. - statusText
- Type: SystemString
Text that indicates the current operation progress. - lineNumber
- Type: SystemInt32
Line number associated with this progress update, if any. Use 0 if no single line is associated with it. - pos
- Type: SystemInt32
Current position within the current line associated with this progress update, if any. Use 0 if no single line and position is associated with it. - tag
- Type: SystemObject
Object that is associated with the current operation.