5#include "../../enum.hpp"
54 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::net::sockets::transmit_file_options> {{
xtd::net::sockets::transmit_file_options::use_default_worker_thread,
"use_default_worker_thread"}, {
xtd::net::sockets::transmit_file_options::disconnect,
"disconnect"}, {
xtd::net::sockets::transmit_file_options::reuse_socket,
"reuse_socket"}, {
xtd::net::sockets::transmit_file_options::write_behind,
"write_behind"}, {
xtd::net::sockets::transmit_file_options::use_system_thread,
"use_system_thread"}, {
xtd::net::sockets::transmit_file_options::use_kernel_apc,
"use_kernel_apc"}};}
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.hpp:34
transmit_file_options
The TransmitFileOptions enumeration defines values used in file transfer requests.
Definition transmit_file_options.hpp:32
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:22
@ reuse_socket
The socket handle may be reused when the request completes. This flag is valid only if xtd::net::sock...
@ write_behind
Complete the file transfer request immediately, without pending. If this flag is specified and the fi...
@ use_system_thread
Use system threads to process long file transfer requests.
@ use_default_worker_thread
Use the default thread to process long file transfer requests.
@ disconnect
Start a transport-level disconnect after all the file data has been queued for transmission....
@ use_kernel_apc
Use kernel asynchronous procedure calls (APCs) instead of worker threads to process long file transfe...
@ disconnect
A socket disconnect operation.
The xtd::net::sockets namespace provides a managed implementation of the Berkeley Sockets interface f...
Definition address_family.hpp:16
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38