AdsConsoleLoggerBeginScopeTState Method

Begins a logical operation scope.


Namespace: TwinCAT.Ads.Logging
Assembly: TwinCAT.Ads.ConfigurationProviders (in TwinCAT.Ads.ConfigurationProviders.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public IDisposable? BeginScope<TState>(
    TState state
)

Parameters

state  TState

The identifier for the scope.

Type Parameters

TState

The type of the state to begin scope for.

Return Value

IDisposable
An IDisposable that ends the logical operation scope on dispose.

Implements

ILoggerBeginScopeTState(TState)

Reference

AdsConsoleLogger Class TwinCAT.Ads.Logging Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026