HeaderSerializer.Serialize(Header, Byte[], Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Sérialise l’en-tête passé dans le tableau d’octets passé.
public static int Serialize(Microsoft.Bot.Streaming.Payloads.Header header, byte[] buffer, int offset);
static member Serialize : Microsoft.Bot.Streaming.Payloads.Header * byte[] * int -> int
Public Shared Function Serialize (header As Header, buffer As Byte(), offset As Integer) As Integer
Paramètres
- buffer
- Byte[]
Le tableau d’octets pour stocker l’en-tête sérialisé.
- offset
- Int32
Offset obsolète utilisé pour commencer à écrire dans le tampon à un emplacement différent de 0.
Retours
Un int représentant la longueur maximale de l’en-tête prise en charge.