C# Class Amazon.Runtime.Internal.ClientContext

This class composes Client Context header for Amazon Web Service client. It contains information like app title, version code, version name, client id, OS platform etc.
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode Description
AddCustomAttributes ( string key, string value ) : void

Adds the custom attributes to the Client Context.

ClientContext ( string appId ) : Amazon.Util.Internal.PlatformServices

Initializes a new instance of the Amazon.Runtime.Internal.ClientContext class.

ToJsonString ( ) : String

Gets a Json Representation of the Client Context.

Method Details

AddCustomAttributes() public méthode

Adds the custom attributes to the Client Context.
public AddCustomAttributes ( string key, string value ) : void
key string Key.
value string Value.
Résultat void

ClientContext() public méthode

Initializes a new instance of the Amazon.Runtime.Internal.ClientContext class.
public ClientContext ( string appId ) : Amazon.Util.Internal.PlatformServices
appId string
Résultat Amazon.Util.Internal.PlatformServices

ToJsonString() public méthode

Gets a Json Representation of the Client Context.
public ToJsonString ( ) : String
Résultat String