共用方式為


WebJob Constructors

Definition

Overloads

WebJob()

Initializes a new instance of the WebJob class.

WebJob(String, String, String, String, String, String, String, Nullable<WebJobType>, String, Nullable<Boolean>, IDictionary<String,Object>)

Initializes a new instance of the WebJob class.

WebJob()

Initializes a new instance of the WebJob class.

public WebJob ();
Public Sub New ()

Applies to

WebJob(String, String, String, String, String, String, String, Nullable<WebJobType>, String, Nullable<Boolean>, IDictionary<String,Object>)

Initializes a new instance of the WebJob class.

public WebJob (string id = default, string name = default, string kind = default, string type = default, string runCommand = default, string url = default, string extraInfoUrl = default, Microsoft.Azure.Management.WebSites.Models.WebJobType? webJobType = default, string error = default, bool? usingSdk = default, System.Collections.Generic.IDictionary<string,object> settings = default);
new Microsoft.Azure.Management.WebSites.Models.WebJob : string * string * string * string * string * string * string * Nullable<Microsoft.Azure.Management.WebSites.Models.WebJobType> * string * Nullable<bool> * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.Azure.Management.WebSites.Models.WebJob
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional runCommand As String = Nothing, Optional url As String = Nothing, Optional extraInfoUrl As String = Nothing, Optional webJobType As Nullable(Of WebJobType) = Nothing, Optional error As String = Nothing, Optional usingSdk As Nullable(Of Boolean) = Nothing, Optional settings As IDictionary(Of String, Object) = Nothing)

Parameters

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

runCommand
String

Run command.

url
String

Job URL.

extraInfoUrl
String

Extra Info URL.

webJobType
Nullable<WebJobType>

Job type. Possible values include: 'Continuous', 'Triggered'

error
String

Error information.

usingSdk
Nullable<Boolean>

Using SDK?

settings
IDictionary<String,Object>

Job settings.

Applies to