Taal

StreamingResponseExtensions.SetBody Methode

Definitie

Overloads

Name Description
SetBody(StreamingResponse, Object)

Voegt een nieuwe stroom StreamingResponse toe met het doorgegeven lichaam. Nee op null body of null response.

SetBody(StreamingResponse, String)

Voegt een nieuwe stroom StreamingResponse toe met het doorgegeven lichaam. Nee op lege lichaams- of nul-respons.

SetBody(StreamingResponse, Object)

Bron:
StreamingResponseExtensions.cs

Voegt een nieuwe stroom StreamingResponse toe met het doorgegeven lichaam. Nee op null body of null response.

public static void SetBody(this Microsoft.Bot.Streaming.StreamingResponse response, object body);
static member SetBody : Microsoft.Bot.Streaming.StreamingResponse * obj -> unit
<Extension()>
Public Sub SetBody (response As StreamingResponse, body As Object)

Parameters

response
StreamingResponse

De StreamingResponse instantie om dit lichaam aan te koppelen.

body
Object

Een object met de data om in de stroom in te voegen.

Van toepassing op

SetBody(StreamingResponse, String)

Bron:
StreamingResponseExtensions.cs

Voegt een nieuwe stroom StreamingResponse toe met het doorgegeven lichaam. Nee op lege lichaams- of nul-respons.

public static void SetBody(this Microsoft.Bot.Streaming.StreamingResponse response, string body);
static member SetBody : Microsoft.Bot.Streaming.StreamingResponse * string -> unit
<Extension()>
Public Sub SetBody (response As StreamingResponse, body As String)

Parameters

response
StreamingResponse

De StreamingResponse instantie om dit lichaam aan te koppelen.

body
String

Een string met de gegevens die in de stroom moeten worden ingevoegd.

Van toepassing op