Open sandboxFocus

Constructor RecordingScopeAttribute

RecordingScopeAttribute(string, RecordingScopeOption)

Initializes a new instance of the RecordingScopeAttribute class and specify the scope name.

Declaration
public RecordingScopeAttribute(string name, RecordingScopeOption option = RecordingScopeOption.Default)
Parameters
Type Name Description
string name

The scope name, or null.

RecordingScopeOption option

Scope options.

RecordingScopeAttribute(RecordingScopeOption)

Initializes a new instance of the RecordingScopeAttribute.

Declaration
public RecordingScopeAttribute(RecordingScopeOption option)
Parameters
Type Name Description
RecordingScopeOption option

Scope options. Typically Atomic or Skip.