Table of Contents

Class CSMCallEventHandler

Namespace
Amazon.Runtime.Internal
Assembly
AWSSDK.Core.dll

The CSM handler has the logic for capturing data for CSM events when enabled.

public class CSMCallEventHandler : PipelineHandler, IPipelineHandler
Inheritance
CSMCallEventHandler
Implements
Inherited Members

Constructors

CSMCallEventHandler()

public CSMCallEventHandler()

Methods

InvokeAsync<T>(IExecutionContext)

Calls the PreInvoke and PostInvoke methods before and after calling the next handler in the pipeline.

public override Task<T> InvokeAsync<T>(IExecutionContext executionContext) where T : AmazonWebServiceResponse, new()

Parameters

executionContext IExecutionContext

Returns

Task<T>

Type Parameters

T

InvokeSync(IExecutionContext)

Invokes the CSM handler and captures data for the CSM events.

public override void InvokeSync(IExecutionContext executionContext)

Parameters

executionContext IExecutionContext

PreInvoke(IExecutionContext)

protected void PreInvoke(IExecutionContext executionContext)

Parameters

executionContext IExecutionContext