你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Module.OnModuleLoad Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The delegate to call when this module is loaded (supporting a commmon module).
public Action<string,string,Action<Func<System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken,Action,Func<string,System.Threading.CancellationToken,Func<EventArgs>,System.Threading.Tasks.Task>,Func<System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken,Action,Func<string,System.Threading.CancellationToken,Func<EventArgs>,System.Threading.Tasks.Task>,System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>,System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>>,Action<Func<System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken,Action,Func<string,System.Threading.CancellationToken,Func<EventArgs>,System.Threading.Tasks.Task>,Func<System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken,Action,Func<string,System.Threading.CancellationToken,Func<EventArgs>,System.Threading.Tasks.Task>,System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>,System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>>> OnModuleLoad { get; set; }
member this.OnModuleLoad : Action<string, string, Action<Func<System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken, Action, Func<string, System.Threading.CancellationToken, Func<EventArgs>, System.Threading.Tasks.Task>, Func<System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken, Action, Func<string, System.Threading.CancellationToken, Func<EventArgs>, System.Threading.Tasks.Task>, System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>, System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>>, Action<Func<System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken, Action, Func<string, System.Threading.CancellationToken, Func<EventArgs>, System.Threading.Tasks.Task>, Func<System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken, Action, Func<string, System.Threading.CancellationToken, Func<EventArgs>, System.Threading.Tasks.Task>, System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>, System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>>> with get, set
Public Property OnModuleLoad As Action(Of String, String, Action(Of Func(Of HttpRequestMessage, CancellationToken, Action, Func(Of String, CancellationToken, Func(Of EventArgs), Task), Func(Of HttpRequestMessage, CancellationToken, Action, Func(Of String, CancellationToken, Func(Of EventArgs), Task), Task(Of HttpResponseMessage)), Task(Of HttpResponseMessage))), Action(Of Func(Of HttpRequestMessage, CancellationToken, Action, Func(Of String, CancellationToken, Func(Of EventArgs), Task), Func(Of HttpRequestMessage, CancellationToken, Action, Func(Of String, CancellationToken, Func(Of EventArgs), Task), Task(Of HttpResponseMessage)), Task(Of HttpResponseMessage))))
Property Value
Action<String,String,Action<Func<HttpRequestMessage,CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>,Task>,Func<HttpRequestMessage,CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>,Task>,Task<HttpResponseMessage>>,Task<HttpResponseMessage>>>,Action<Func<HttpRequestMessage,CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>,Task>,Func<HttpRequestMessage,CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>,Task>,Task<HttpResponseMessage>>,Task<HttpResponseMessage>>>>