C# 클래스 Microsoft.Azure.WebJobs.Script.ScriptHost

상속: JobHost
파일 보기 프로젝트 열기: Azure/azure-webjobs-sdk-script 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Version string

Private Properties

프로퍼티 타입 설명
AddFunctionError void
ApplyConfiguration void
BlobLeaseManagerHasLeaseChanged void
CreateTypeAttributes Collection
DeterminePrimaryScriptFile string
GetAssemblyFileVersion string
GetRelativeDirectory string
HandleHostError void
HandleHostError void
HttpRoutesConflict bool
IsDisabled bool
IsDynamicSku bool
LoadBindingProviders Collection
NotifyInvoker void
OnDebugModeFileChanged void
OnFileChanged void
OnUnhandledException void
ParseFunctionMetadata Microsoft.Azure.WebJobs.Script.Description.FunctionMetadata
ParseScriptType ScriptType
PurgeOldLogDirectories void
ReadFunctions Collection
ReadFunctions Collection
RestartHost void
TryGetFunctionFromException bool
TryParseFunctionMetadata bool
ValidateFunctionName void

공개 메소드들

메소드 설명
CallAsync ( string method, object>.Dictionary arguments, CancellationToken cancellationToken = default(CancellationToken) ) : Task
Create ( ScriptSettingsManager settingsManager = null, Microsoft.Azure.WebJobs.Script.ScriptHostConfiguration scriptConfig = null ) : ScriptHost
NotifyDebug ( ) : void

Notifies this host that it should be in debug mode.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
Initialize ( ) : void
ScriptHost ( Microsoft.Azure.WebJobs.Script.ScriptHostConfiguration scriptConfig ) : System

비공개 메소드들

메소드 설명
AddFunctionError ( string functionName, string error, bool isFunctionShortName = false ) : void
ApplyConfiguration ( Newtonsoft.Json.Linq.JObject config, Microsoft.Azure.WebJobs.Script.ScriptHostConfiguration scriptConfig ) : void
BlobLeaseManagerHasLeaseChanged ( object sender, EventArgs e ) : void
CreateTypeAttributes ( Microsoft.Azure.WebJobs.Script.ScriptHostConfiguration scriptConfig ) : Collection
DeterminePrimaryScriptFile ( Newtonsoft.Json.Linq.JObject functionConfig, string functionFiles ) : string

Determines which script should be considered the "primary" entry point script.

GetAssemblyFileVersion ( Assembly assembly ) : string
GetRelativeDirectory ( string path, string scriptRoot ) : string
HandleHostError ( Exception exception ) : void
HandleHostError ( Microsoft traceFilter ) : void
HttpRoutesConflict ( HttpTriggerBindingMetadata functionMetadata, HttpTriggerBindingMetadata otherFunctionMetadata ) : bool
IsDisabled ( JToken isDisabledValue ) : bool
IsDynamicSku ( ) : bool
LoadBindingProviders ( Microsoft.Azure.WebJobs.Script.ScriptHostConfiguration config, Newtonsoft.Json.Linq.JObject hostMetadata, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter ) : Collection
NotifyInvoker ( string functionName, Exception ex ) : void
OnDebugModeFileChanged ( object sender, FileSystemEventArgs e ) : void

Whenever the debug marker file changes we update our debug timeout

OnFileChanged ( object sender, FileSystemEventArgs e ) : void
OnUnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
ParseFunctionMetadata ( string functionName, Newtonsoft.Json.Linq.JObject configMetadata ) : FunctionMetadata
ParseScriptType ( string scriptFilePath ) : ScriptType
PurgeOldLogDirectories ( ) : void

Iterate through all function log directories and remove any that don't correspond to a function.

ReadFunctions ( IEnumerable descriptorProviders ) : Collection
ReadFunctions ( List functions, IEnumerable descriptorProviders ) : Collection
RestartHost ( ) : void
TryGetFunctionFromException ( Collection functions, Exception exception, FunctionDescriptor &function ) : bool
TryParseFunctionMetadata ( string functionName, Newtonsoft.Json.Linq.JObject functionConfig, HttpTriggerBindingMetadata>.Dictionary mappedHttpFunctions, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter, Lazy functionFilesProvider, FunctionMetadata &functionMetadata, string &error ) : bool
ValidateFunctionName ( string functionName ) : void

메소드 상세

CallAsync() 공개 메소드

public CallAsync ( string method, object>.Dictionary arguments, CancellationToken cancellationToken = default(CancellationToken) ) : Task
method string
arguments object>.Dictionary
cancellationToken System.Threading.CancellationToken
리턴 Task

Create() 공개 정적인 메소드

public static Create ( ScriptSettingsManager settingsManager = null, Microsoft.Azure.WebJobs.Script.ScriptHostConfiguration scriptConfig = null ) : ScriptHost
settingsManager Microsoft.Azure.WebJobs.Script.Config.ScriptSettingsManager
scriptConfig Microsoft.Azure.WebJobs.Script.ScriptHostConfiguration
리턴 ScriptHost

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void

NotifyDebug() 공개 메소드

Notifies this host that it should be in debug mode.
public NotifyDebug ( ) : void
리턴 void

ScriptHost() 보호된 메소드

protected ScriptHost ( Microsoft.Azure.WebJobs.Script.ScriptHostConfiguration scriptConfig ) : System
scriptConfig Microsoft.Azure.WebJobs.Script.ScriptHostConfiguration
리턴 System

프로퍼티 상세

Version 공개적으로 정적으로 프로퍼티

public static string Version
리턴 string