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.h:34
transmit_file_options
The TransmitFileOptions enumeration defines values used in file transfer requests.
Definition transmit_file_options.h: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.h: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.h:16
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38