The properties of the WebMethodAttribute class are listed below. For a complete list of WebMethodAttribute class members, see the WebMethodAttribute Members topic.
Description | A message that describes the web method. The message is used in description files generated for the web service. |
EnableSession | Enables or disables session state for this web method. The default is true. |
InvokeInNewTransaction | Can enable the method to execute in the context of a new transaction. The default is false. |