Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NodeInvocationInfo Class

Definition

Namespace:
Microsoft.AspNetCore.NodeServices.HostingModels
Assembly:
Microsoft.AspNetCore.NodeServices.dll
Package:
Microsoft.AspNetCore.NodeServices v2.0.0
Package:
Microsoft.AspNetCore.NodeServices v2.1.0
Package:
Microsoft.AspNetCore.NodeServices v2.2.0
Package:
Microsoft.AspNetCore.NodeServices v3.0.3
Package:
Microsoft.AspNetCore.NodeServices v3.1.18
Source:
NodeInvocationInfo.cs
Source:
NodeInvocationInfo.cs
Source:
NodeInvocationInfo.cs
Source:
NodeInvocationInfo.cs

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.

Caution

Use Microsoft.AspNetCore.SpaServices.Extensions

Describes an RPC call sent from .NET code to Node.js code.

public ref class NodeInvocationInfo
public class NodeInvocationInfo
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public class NodeInvocationInfo
type NodeInvocationInfo = class
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type NodeInvocationInfo = class
Public Class NodeInvocationInfo
Inheritance
NodeInvocationInfo
Attributes

Constructors

Name Description
NodeInvocationInfo()

Properties

Name Description
Args

A sequence of JSON-serializable arguments to be passed to the Node.js function being invoked.

ExportedFunctionName

If set, specifies the name of CommonJS function export to be invoked. If not set, the Node.js module's default export must itself be a function to be invoked.

ModuleName

Specifies the path to the Node.js module (i.e., .js file) relative to the project root.

Applies to


Feedback

Was this page helpful?