/// <include file='doc\WebMethodAttribute.uex' path='docs/doc[@for="WebMethodAttribute.WebMethodAttribute4"]/*' /> /// <devdoc> /// <para>Initializes a new instance of the <see cref='System.Web.Services.WebMethodAttribute'/> /// class.</para> /// </devdoc> public WebMethodAttribute(bool enableSession, TransactionOption transactionOption, int cacheDuration, bool bufferResponse) { this.enableSession = enableSession; this.transactionOption = (int)transactionOption; this.cacheDuration = cacheDuration; this.bufferResponse = bufferResponse; }
/// <include file='doc\WebMethodAttribute.uex' path='docs/doc[@for="WebMethodAttribute.WebMethodAttribute2"]/*' /> /// <devdoc> /// <para>Initializes a new instance of the <see cref='System.Web.Services.WebMethodAttribute'/> /// class.</para> /// </devdoc> public WebMethodAttribute(bool enableSession, TransactionOption transactionOption) : this() { EnableSession = enableSession; this.transactionOption = (int)transactionOption; transactionOptionSpecified = true; }
/// <include file='doc\WebMethodAttribute.uex' path='docs/doc[@for="WebMethodAttribute.WebMethodAttribute4"]/*' /> /// <devdoc> /// <para>Initializes a new instance of the <see cref='System.Web.Services.WebMethodAttribute'/> /// class.</para> /// </devdoc> public WebMethodAttribute(bool enableSession, TransactionOption transactionOption, int cacheDuration, bool bufferResponse) { EnableSession = enableSession; this.transactionOption = (int)transactionOption; transactionOptionSpecified = true; CacheDuration = cacheDuration; BufferResponse = bufferResponse; }
public WebMethodAttribute(bool enableSession, TransactionOption transactionOption, int cacheDuration, bool bufferResponse) { this.bufferResponse = bufferResponse; this.cacheDuration = cacheDuration; this.enableSession = enableSession; this.transactionOption = transactionOption; this.description = String.Empty; this.messageName = String.Empty; }
public WebMethodAttribute(bool enableSession, TransactionOption transactionOption, int cacheDuration) : this(enableSession, transactionOption, cacheDuration, true) { }
public WebMethodAttribute(bool enableSession, TransactionOption transactionOption) : this(enableSession, transactionOption, 0, true) { }
/// <include file='doc\WebMethodAttribute.uex' path='docs/doc[@for="WebMethodAttribute.WebMethodAttribute2"]/*' /> /// <devdoc> /// <para>Initializes a new instance of the <see cref='System.Web.Services.WebMethodAttribute'/> /// class.</para> /// </devdoc> public WebMethodAttribute(bool enableSession, TransactionOption transactionOption) : this() { this.enableSession = enableSession; this.transactionOption = (int)transactionOption; }