> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class OperationStatusEventArgs

Namespace: [VM.Managed.Operation](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Operation)\
Assembly: VMAppCore.dll

This class is to represent the evnet argument that has a operation status.

```csharp theme={null}
public class OperationStatusEventArgs : EventArgs
```

#### Inheritance

object ←
EventArgs ←
[OperationStatusEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Operation.OperationStatusEventArgs.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### OperationStatusEventArgs(OperationStatus, OperationStatus)

Initializes a new instance of the [OperationStatusEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Operation.OperationStatusEventArgs.md) class.

```csharp theme={null}
public OperationStatusEventArgs(OperationStatus status, OperationStatus statusPrev)
```

#### Parameters

`status` [OperationStatus](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Operation.OperationStatus.md)

The operation status.

`statusPrev` [OperationStatus](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Operation.OperationStatus.md)

The previous operation status.

## Properties

### PreviousStatus

Gets the previous operation status.

```csharp theme={null}
public OperationStatus PreviousStatus { get; }
```

#### Property Value

[OperationStatus](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Operation.OperationStatus.md)

### Status

Gets the operation status.

```csharp theme={null}
public OperationStatus Status { get; }
```

#### Property Value

[OperationStatus](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Operation.OperationStatus.md)
