C# 클래스 WorkerRole.RunMe

파일 보기 프로젝트 열기: azure-contrib/AzureRunMe

공개 메소드들

메소드 설명
GetAzureRunMeVersion ( ) : string
GetLabel ( ) : string
GetWindowsAzureSDKVersion ( ) : string
GetWorkingDirectory ( ) : string
OnStart ( ) : bool
OnStop ( ) : void
Run ( ) : void
RunMe ( ) : System

비공개 메소드들

메소드 설명
ConfigureDefaultConnectionLimit ( ) : void

Configures the maximum number of concurrent outbound connections

ConfigureTraceFormat ( ) : void
DoUpdate ( ) : void
EnvironmentVariables ( ProcessStartInfo processStartInfo, string environmentVariables ) : void
ExpandKeywords ( string buffer ) : string

Expands keywords in the buffer to allow configuration strings to be set dynamically at runtime

InstallPackage ( string containerName, string packageName, string workingDirectory ) : void

Download a package from blob storage and unzip it

InstallPackageIfNewer ( bool alwaysInstallPackages, string workingDirectory, string containerName, string packageName ) : void
InstallPackages ( ) : void
IsNewPackage ( string containerName, string packageName, string packageReceiptFile ) : bool

Checks a package in Blob Storage against any previous package receipt to determine whether to reinstall it

KillProcesses ( ) : void
OnTimedEvent ( object source, System.Timers.ElapsedEventArgs e ) : void
RoleEnvironmentChanged ( object sender, RoleEnvironmentChangedEventArgs e ) : void
RoleEnvironmentChanging ( object sender, RoleEnvironmentChangingEventArgs e ) : void
RoleEnvironmentStatusCheck ( object sender, RoleInstanceStatusCheckEventArgs e ) : void
RoleEnvironmentStopping ( object sender, RoleEnvironmentStoppingEventArgs e ) : void
Run ( string workingDirectory, string environmentVariables, string batchFile ) : Process

Runs a batch file or executable and hooks up stdout and stderr

RunCommands ( ) : List
RunCommands ( string commandList ) : List
SetEnvironmentVariable ( ProcessStartInfo startInfo, string variable, string value ) : void
WaitForCommandsExit ( List processes ) : void
WritePackageReceipt ( string receiptFileName ) : void

Creates a package receipt (a simple text file in the temp directory) to record the successful download and installation of a package

메소드 상세

GetAzureRunMeVersion() 공개 정적인 메소드

public static GetAzureRunMeVersion ( ) : string
리턴 string

GetLabel() 공개 메소드

public GetLabel ( ) : string
리턴 string

GetWindowsAzureSDKVersion() 공개 메소드

public GetWindowsAzureSDKVersion ( ) : string
리턴 string

GetWorkingDirectory() 공개 메소드

public GetWorkingDirectory ( ) : string
리턴 string

OnStart() 공개 메소드

public OnStart ( ) : bool
리턴 bool

OnStop() 공개 메소드

public OnStop ( ) : void
리턴 void

Run() 공개 메소드

public Run ( ) : void
리턴 void

RunMe() 공개 메소드

public RunMe ( ) : System
리턴 System