C# Класс NuGet.Services.BasicSearch.SafeRoleEnvironment

Safe role environment which allows this application to be run on both Azure Cloud Services and Azure Web Sites.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetConfigurationSettingValue ( string configurationSettingName ) : string

Delegate the call because we don't want RoleEnvironment appearing in the function scope of the caller because that would trigger the assembly load: teh very thing we are attempting to avoid

Приватные методы

Метод Описание
GetServiceRuntimeAssembly ( ) : Assembly

Loads and returns the latest available version of the service runtime assembly.

SafeRoleEnvironment ( ) : Microsoft.WindowsAzure.ServiceRuntime

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

GetConfigurationSettingValue() публичный статический Метод

Delegate the call because we don't want RoleEnvironment appearing in the function scope of the caller because that would trigger the assembly load: teh very thing we are attempting to avoid
public static GetConfigurationSettingValue ( string configurationSettingName ) : string
configurationSettingName string
Результат string