Aracılığıyla paylaş


BinaryHttpBody Sınıf

İkili veri içeren bir http gövde temsil eder.

Devralma Hiyerarşisi

Object
  Microsoft.VisualStudio.TestTools.WebTesting.BinaryHttpBody

Ad alanı:  Microsoft.VisualStudio.TestTools.WebTesting
Derleme:  Microsoft.VisualStudio.QualityTools.WebTestFramework (Microsoft.VisualStudio.QualityTools.WebTestFramework.dll içinde)

Sözdizimi

'Bildirim
<SerializableAttribute> _
Public Class BinaryHttpBody _
    Implements IHttpBody, ICloneable
[SerializableAttribute]
public class BinaryHttpBody : IHttpBody, 
    ICloneable
[SerializableAttribute]
public ref class BinaryHttpBody : IHttpBody, 
    ICloneable
[<SerializableAttribute>]
type BinaryHttpBody =  
    class 
        interface IHttpBody 
        interface ICloneable 
    end
public class BinaryHttpBody implements IHttpBody, ICloneable

BinaryHttpBody türü aşağıdaki üyeleri ortaya koyar.

Oluşturucular

  Ad Açıklama
Genel yöntem BinaryHttpBody Yeni bir örneğini başlatır BinaryHttpBody sınıfı.

Üst

Özellikler

  Ad Açıklama
Genel özellik ContentType Alır veya bu veri içerik türünü ayarlar.
Genel özellik Data Alır veya ayarlar ikili veri.

Üst

Yöntemler

  Ad Açıklama
Genel yöntem Clone Bir kopyasını bir Web sunucusuna gönderilen http request nesnesi oluşturur.
Genel yöntem Equals Determines whether the specified object is equal to the current object. (Object kaynağından devralındı.)
Korumalı yöntem Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Object kaynağından devralındı.)
Genel yöntem GetHashCode Serves as the default hash function. (Object kaynağından devralındı.)
Genel yöntem GetType Gets the Type of the current instance. (Object kaynağından devralındı.)
Korumalı yöntem MemberwiseClone Creates a shallow copy of the current Object. (Object kaynağından devralındı.)
Genel yöntem ToString Returns a string that represents the current object. (Object kaynağından devralındı.)
Genel yöntem WriteHttpBody İkili veri, belirtilen stream değerine yazar.

Üst

Notlar

IHttpBodyhttp gövde erişim sağlar WriteHttpBody yöntemi.

İş Parçacığı Güvenliği

Bu türün tüm genel statik (Visual Basic'te Shared) üyeleri iş parçacığı açısından güvenlidir. Hiçbir örnek üyesinin iş parçacığı açısından güvenliği garanti edilemez.

Ayrıca bkz.

Başvuru

Microsoft.VisualStudio.TestTools.WebTesting Ad Alanı

IHttpBody

ICloneable