BatchHeader 類別

Represents a batch header that supports the use of multi-method operations that run within a single transaction. For more information about batch headers, see Batching Methods.

繼承階層

System. . :: . .Object
  System.Web.Services.Protocols. . :: . .SoapHeader
    ReportService2005..::..BatchHeader

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.dll 中)

語法

'宣告
<SerializableAttribute> _
Public Class BatchHeader _
    Inherits SoapHeader
'用途
Dim instance As BatchHeader
[SerializableAttribute]
public class BatchHeader : SoapHeader
[SerializableAttribute]
public ref class BatchHeader : public SoapHeader
[<SerializableAttribute>]
type BatchHeader =  
    class
        inherit SoapHeader
    end
public class BatchHeader extends SoapHeader

BatchHeader 型別公開下列成員。

建構函式

  名稱 說明
公用方法 BatchHeader Instantiates a new instance of the BatchHeader class.

上層

屬性

  名稱 說明
公用屬性 Actor (繼承自 SoapHeader。)
公用屬性 AnyAttr
公用屬性 BatchID Gets or sets the batch ID that is associated with a single database transaction in which multiple Web service methods run.
公用屬性 DidUnderstand (繼承自 SoapHeader。)
公用屬性 EncodedMustUnderstand (繼承自 SoapHeader。)
公用屬性 EncodedMustUnderstand12 (繼承自 SoapHeader。)
公用屬性 EncodedRelay (繼承自 SoapHeader。)
公用屬性 MustUnderstand (繼承自 SoapHeader。)
公用屬性 Relay (繼承自 SoapHeader。)
公用屬性 Role (繼承自 SoapHeader。)

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

The BatchHeader class is used with the BatchHeaderValue property in a SOAP header.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。