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 | |
---|---|---|
![]() |
BinaryHttpBody | Yeni bir örneğini başlatır BinaryHttpBody sınıfı. |
Üst
Özellikler
Ad | Açıklama | |
---|---|---|
![]() |
ContentType | Alır veya bu veri içerik türünü ayarlar. |
![]() |
Data | Alır veya ayarlar ikili veri. |
Üst
Yöntemler
Ad | Açıklama | |
---|---|---|
![]() |
Clone | Bir kopyasını bir Web sunucusuna gönderilen http request nesnesi oluşturur. |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Object kaynağından devralındı.) |
![]() |
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ı.) |
![]() |
GetHashCode | Serves as the default hash function. (Object kaynağından devralındı.) |
![]() |
GetType | Gets the Type of the current instance. (Object kaynağından devralındı.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Object kaynağından devralındı.) |
![]() |
ToString | Returns a string that represents the current object. (Object kaynağından devralındı.) |
![]() |
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.