The Labs \ Source Viewer \ SSCLI \ System.Net.Sockets \ TransmitFileOptions

  1. //------------------------------------------------------------------------------
  2. // <copyright file="SocketFlags.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. namespace System.Net.Sockets
  16. {
  17.     using System;
  18.    
  19.     /// <devdoc>
  20.     /// <para>
  21.     /// Provides constant values for socket messages.
  22.     /// </para>
  23.     /// </devdoc>
  24.     //UEUE
  25.    
  26.     [Flags()]
  27.     public enum TransmitFileOptions
  28.     {
  29.         /// <devdoc>
  30.         /// <para>
  31.         /// Use no flags for this call.
  32.         /// </para>
  33.         /// </devdoc>
  34.        
  35.         UseDefaultWorkerThread = 0,
  36.         /// <devdoc>
  37.         /// <para>
  38.         /// Use no flags for this call.
  39.         /// </para>
  40.         /// </devdoc>
  41.         Disconnect = 1,
  42.         /// <devdoc>
  43.         /// <para>
  44.         /// Use no flags for this call.
  45.         /// </para>
  46.         /// </devdoc>
  47.         ReuseSocket = 2,
  48.         /// <devdoc>
  49.         /// <para>
  50.         /// Use no flags for this call.
  51.         /// </para>
  52.         /// </devdoc>
  53.         WriteBehind = 4,
  54.         /// <devdoc>
  55.         /// <para>
  56.         /// Use no flags for this call.
  57.         /// </para>
  58.         /// </devdoc>
  59.         UseSystemThread = 16,
  60.         /// <devdoc>
  61.         /// <para>
  62.         /// Use no flags for this call.
  63.         /// </para>
  64.         /// </devdoc>
  65.         UseKernelApc = 32
  66.     }
  67. }
  68. // namespace System.Net.Sockets

Developer Fusion