FileUploadHttpRequestMessageHandler(Context, HttpRequestMessage, String, Boolean) Constructor

Initializes a new instance of the FileUploadHttpRequestMessageHandler class with the specified Context, HttpResponseMessage, path and a value that indicates whether all directories and subdirectories in the specified path should be created.


Namespace: TcHmiSrv.Core.Tools.Net.Http.Handlers
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public FileUploadHttpRequestMessageHandler(
    Context context,
    HttpRequestMessage httpRequest,
    string path,
    bool createDirectory
)

Parameters

context  Context

The Context of the client that sent the specified HttpRequestMessage.

httpRequest  HttpRequestMessage

The received HttpRequestMessage.

path  String

The path and name of the file to create.

createDirectory  Boolean

A value that indicates whether all directories and subdirectories in path should be created.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

FileUploadHttpRequestMessageHandler Class FileUploadHttpRequestMessageHandler Overload TcHmiSrv.Core.Tools.Net.Http.Handlers Namespace

Copyright © Beckhoff Automation GmbH & Co. KG