Skip to main content Skip to complementary content

GetEmptyScriptAsync Method

Overloads

GetEmptyScriptAsync(String)

Creates a script that contains one section. This section contains SET statements that give localized information from the regional settings of the computer.

GetEmptyScriptAsync(AsyncHandle, String)

Creates a script that contains one section. This section contains SET statements that give localized information from the regional settings of the computer.

GetEmptyScriptAsync<T>(AsyncHandle, Func<Response, T>, String)

Creates a script that contains one section. This section contains SET statements that give localized information from the regional settings of the computer.

GetEmptyScriptAsync(String)

Creates a script that contains one section. This section contains SET statements that give localized information from the regional settings of the computer.

Declaration

      public Task<string> GetEmptyScriptAsync([QixName("qLocalizedMainSection")] string localizedMainSection = null)
    

Parameters

Type Name Description
System.String localizedMainSection

Name of the script section. The default value is Main .

Returns

Type Description
System.Threading.Tasks.Task<System.String>

Implements

Remarks

The computer regional settings are retrieved when the engine starts.

GetEmptyScriptAsync(AsyncHandle, String)

Creates a script that contains one section. This section contains SET statements that give localized information from the regional settings of the computer.

Declaration

      public Task<string> GetEmptyScriptAsync(AsyncHandle asyncHandle, [QixName("qLocalizedMainSection")] string localizedMainSection = null)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.String localizedMainSection

Name of the script section. The default value is Main .

Returns

Type Description
System.Threading.Tasks.Task<System.String>

Implements

Remarks

The computer regional settings are retrieved when the engine starts.

GetEmptyScriptAsync<T>(AsyncHandle, Func<Response, T>, String)

Creates a script that contains one section. This section contains SET statements that give localized information from the regional settings of the computer.

Declaration

      public Task<T> GetEmptyScriptAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qLocalizedMainSection")] string localizedMainSection = null)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Func<Response, T> onResult

Continuation function

System.String localizedMainSection

Name of the script section. The default value is Main .

Returns

Type Description
System.Threading.Tasks.Task<T>

Type Parameters

Name Description
T

Implements

Remarks

The computer regional settings are retrieved when the engine starts.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!