| RuntimeClientCompileScriptAsync Method  | 
Version 90.6.50 
            Compiles expression.
            
 
    Namespace: 
   CefSharp.DevTools.Runtime
    Assembly:
   CefSharp (in CefSharp.dll) Version: 90.6.50.0 (90.6.50.0)
 Syntax
Syntaxpublic Task<CompileScriptResponse> CompileScriptAsync(
	string expression,
	string sourceURL,
	bool persistScript,
	Nullable<int> executionContextId = null
)
public:
Task<CompileScriptResponse^>^ CompileScriptAsync(
	String^ expression, 
	String^ sourceURL, 
	bool persistScript, 
	Nullable<int> executionContextId = nullptr
)
Parameters
- expression
- Type: SystemString
 Expression to compile.
- sourceURL
- Type: SystemString
 Source url to be set for the script.
- persistScript
- Type: SystemBoolean
 Specifies whether the compiled script should be persisted.
- executionContextId (Optional)
- Type: SystemNullableInt32
 Specifies in which execution context to perform script run. If the parameter is omitted theevaluation will be performed in the context of the inspected page.
Return Value
Type: 
TaskCompileScriptResponsereturns System.Threading.Tasks.Task<CompileScriptResponse>
 See Also
See Also