Share via


FunctionResultContent Constructors

Definition

Overloads

FunctionResultContent(FunctionCallContent, FunctionResult)

Creates a new instance of the FunctionCallContent class.

FunctionResultContent(FunctionCallContent, Object)

Creates a new instance of the FunctionCallContent class.

FunctionResultContent(String, String, String, Object)

Creates a new instance of the FunctionResultContent class.

FunctionResultContent(FunctionCallContent, FunctionResult)

Creates a new instance of the FunctionCallContent class.

public FunctionResultContent (Microsoft.SemanticKernel.FunctionCallContent functionCallContent, Microsoft.SemanticKernel.FunctionResult result);
new Microsoft.SemanticKernel.FunctionResultContent : Microsoft.SemanticKernel.FunctionCallContent * Microsoft.SemanticKernel.FunctionResult -> Microsoft.SemanticKernel.FunctionResultContent
Public Sub New (functionCallContent As FunctionCallContent, result As FunctionResult)

Parameters

functionCallContent
FunctionCallContent

The function call content.

result
FunctionResult

The function result.

Applies to

FunctionResultContent(FunctionCallContent, Object)

Creates a new instance of the FunctionCallContent class.

public FunctionResultContent (Microsoft.SemanticKernel.FunctionCallContent functionCall, object? result = default);
new Microsoft.SemanticKernel.FunctionResultContent : Microsoft.SemanticKernel.FunctionCallContent * obj -> Microsoft.SemanticKernel.FunctionResultContent
Public Sub New (functionCall As FunctionCallContent, Optional result As Object = Nothing)

Parameters

functionCall
FunctionCallContent

The function call.

result
Object

The function result.

Applies to

FunctionResultContent(String, String, String, Object)

Creates a new instance of the FunctionResultContent class.

[System.Text.Json.Serialization.JsonConstructor]
public FunctionResultContent (string? functionName = default, string? pluginName = default, string? callId = default, object? result = default);
[<System.Text.Json.Serialization.JsonConstructor>]
new Microsoft.SemanticKernel.FunctionResultContent : string * string * string * obj -> Microsoft.SemanticKernel.FunctionResultContent
Public Sub New (Optional functionName As String = Nothing, Optional pluginName As String = Nothing, Optional callId As String = Nothing, Optional result As Object = Nothing)

Parameters

functionName
String

The function name.

pluginName
String

The plugin name.

callId
String

The function call ID.

result
Object

The function result.

Attributes

Applies to