Freigeben über


StringAsTempFile(String, CancellationToken) Konstruktor

Definition

Erstelle eine neue StringAsTempFile-Instanz.

public:
 StringAsTempFile(System::String ^ content, System::Threading::CancellationToken applicationStoppingToken);
public StringAsTempFile(string content, System.Threading.CancellationToken applicationStoppingToken);
new Microsoft.AspNetCore.NodeServices.StringAsTempFile : string * System.Threading.CancellationToken -> Microsoft.AspNetCore.NodeServices.StringAsTempFile
Public Sub New (content As String, applicationStoppingToken As CancellationToken)

Parameter

content
String

Der Inhalt der zu erstellenden temporären Datei.

applicationStoppingToken
CancellationToken

Ein Token, das angibt, wann die Hostanwendung beendet wird.

Gilt für: