GrabStopEventArgs Class#
Inheritance Hierarchy#
System.Object
  System.EventArgs
    Basler.Pylon.GrabStopEventArgs
Syntax#
C#
 
VB
 
The GrabStopEventArgs type exposes the following members.
Constructors#
| Name | Description | |
|---|---|---|
|  | GrabStopEventArgs() | Creates an instance with the grab stop reason set to UserRequest and no error message. | 
|  | GrabStopEventArgs(GrabStopReason, String) | Creates an instance with a specified grab stop reason and an error message. | 
Properties#
| Name | Description | |
|---|---|---|
|  | ErrorMessage | The message that is displayed if the grab stopped because of an error. | 
|  | Reason | The reason why the GrabStopping or GrabStopped event occurred. | 
GrabStopEventArgs Constructor#
Creates an instance with the grab stop reason set to UserRequest and no error message.
Syntax#
C#
 
VB
 
GrabStopEventArgs Constructor (GrabStopReason, String)#
Creates an instance with a specified grab stop reason and an error message.
Syntax#
C#
 
VB
 
Parameters#
- reason
- Type: Basler.Pylon.GrabStopReason
 The reason why the grab stop event occurred.
- errorMessage
- Type: System.String
 The message that is displayed if the grab stopped because of an error.
GrabStopEventArgs Constructor#
Overload List#
| Name | Description | |
|---|---|---|
|  | GrabStopEventArgs() | Creates an instance with the grab stop reason set to UserRequest and no error message. | 
|  | GrabStopEventArgs(GrabStopReason, String) | Creates an instance with a specified grab stop reason and an error message. | 
GrabStopEventArgs.ErrorMessage Property#
The message that is displayed if the grab stopped because of an error.
Syntax#
C#
 
VB
 
Property Value#
Type: String
GrabStopEventArgs.Reason Property#
The reason why the GrabStopping or GrabStopped event occurred.
Syntax#
C#
 
VB
 
Property Value#
Type: GrabStopReason