AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This class is used to store state data used by the SDK that is scoped within the .NET Task that is calling the SDK.
Namespace: Amazon.Runtime
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z
public class SDKTaskContext
The SDKTaskContext type exposes the following members
| Name | Description | |
|---|---|---|
|
SDKTaskContext() |
| Name | Type | Description | |
|---|---|---|---|
|
Default | Amazon.Runtime.SDKTaskContext |
The default instance of the Amazon.Runtime.SDKTaskContext used by the SDK. |
| Name | Description | |
|---|---|---|
|
Get(string) |
Retrieve the value identified by the key from the current Task context. |
|
Set(string, object) |
Store the value identified by the key in the current Task context. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer