C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

AddCustomAttributes() публичный Метод

Adds the custom attributes to the Client Context.
public AddCustomAttributes ( string key, string value ) : void
key string Key.
value string Value.
Результат void

ClientContext() публичный Метод

Initializes a new instance of the Amazon.Runtime.Internal.ClientContext class.
public ClientContext ( string appId ) : Amazon.Util.Internal.PlatformServices
appId string
Результат Amazon.Util.Internal.PlatformServices

ToJsonString() публичный Метод

Gets a Json Representation of the Client Context.
public ToJsonString ( ) : String
Результат String