Partager via


JavaScriptFunctionBinding Class

Definition

The binding to a JavaScript function.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.JavaScriptFunctionBindingTypeConverter))]
public class JavaScriptFunctionBinding : Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.IJavaScriptFunctionBinding, Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.JavaScriptFunctionBindingTypeConverter))>]
type JavaScriptFunctionBinding = class
    interface IJavaScriptFunctionBinding
    interface IJsonSerializable
    interface IFunctionBinding
    interface IValidates
Public Class JavaScriptFunctionBinding
Implements IJavaScriptFunctionBinding, IValidates
Inheritance
JavaScriptFunctionBinding
Attributes
Implements

Constructors

JavaScriptFunctionBinding()

Creates an new JavaScriptFunctionBinding instance.

Properties

Script

The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }'

Type

Indicates the function binding type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JavaScriptFunctionBinding.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JavaScriptFunctionBinding.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.IJavaScriptFunctionBinding.

FromJsonString(String)

Creates a new instance of JavaScriptFunctionBinding, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of JavaScriptFunctionBinding into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to