AsnReader.ThrowIfNotEmpty Método

Definição

Gera uma AsnContentException padronizada caso o leitor tenha dados restantes; não executará nenhuma função se HasData retornar false.Throws a standardized AsnContentException if the reader has remaining data, performs no function if HasData returns false.

public:
 void ThrowIfNotEmpty();
public void ThrowIfNotEmpty ();
member this.ThrowIfNotEmpty : unit -> unit
Public Sub ThrowIfNotEmpty ()

Comentários

Esse método fornece um destino padronizado e uma exceção padronizada para a leitura de uma estrutura "fechada", como o conteúdo aninhado para um valor explicitamente marcado.This method provides a standardized target and standardized exception for reading a "closed" structure, such as the nested content for an explicitly tagged value.

Aplica-se a