BinaryExchange Construtores
Definição
Cria uma nova instância da classe BinaryExchange.Creates a new instance of the BinaryExchange class.
Sobrecargas
| BinaryExchange(Byte[], Uri) |
Cria uma nova instância da classe BinaryExchange com o URI ValueType e os dados especificados.Creates a new instance of the BinaryExchange class with the specified data and ValueType URI. |
| BinaryExchange(Byte[], Uri, Uri) |
Cria uma nova instância do BinaryExchange com os dados, o URI ValueType e o URI EncodingType especificados.Creates a new instance of the BinaryExchange with the specified data, ValueType URI, and EncodingType URI. |
BinaryExchange(Byte[], Uri)
Cria uma nova instância da classe BinaryExchange com o URI ValueType e os dados especificados.Creates a new instance of the BinaryExchange class with the specified data and ValueType URI.
public:
BinaryExchange(cli::array <System::Byte> ^ binaryData, Uri ^ valueType);
public BinaryExchange (byte[] binaryData, Uri valueType);
new System.IdentityModel.Protocols.WSTrust.BinaryExchange : byte[] * Uri -> System.IdentityModel.Protocols.WSTrust.BinaryExchange
Public Sub New (binaryData As Byte(), valueType As Uri)
Parâmetros
- binaryData
- Byte[]
Os dados binários trocados.The binary data exchanged.
- valueType
- Uri
Um Uri que representa o tipo de valor dos dados binários.A Uri that represents the value type of the binary data.
Exceções
binaryData é null.binaryData is null.
- ou --or-
valueType é null.valueType is null.
valueType não é um URI absoluto.valueType is not an absolute URI.
Comentários
A tabela a seguir mostra os valores de propriedade iniciais para a nova instância.The following table shows the initial property values for the new instance.
| PropriedadeProperty | ValorValue |
|---|---|
| BinaryData | Os dados binários especificados.The specified binary data. |
| EncodingType | Um Uri com base na System.IdentityModel.WSSecurity10Constants.EncodingTypes.Base64 constante.A Uri based on the System.IdentityModel.WSSecurity10Constants.EncodingTypes.Base64 constant. |
| ValueType | O tipo de valor especificado Uri .The specified value type Uri. |
Aplica-se a
BinaryExchange(Byte[], Uri, Uri)
Cria uma nova instância do BinaryExchange com os dados, o URI ValueType e o URI EncodingType especificados.Creates a new instance of the BinaryExchange with the specified data, ValueType URI, and EncodingType URI.
public:
BinaryExchange(cli::array <System::Byte> ^ binaryData, Uri ^ valueType, Uri ^ encodingType);
public BinaryExchange (byte[] binaryData, Uri valueType, Uri encodingType);
new System.IdentityModel.Protocols.WSTrust.BinaryExchange : byte[] * Uri * Uri -> System.IdentityModel.Protocols.WSTrust.BinaryExchange
Public Sub New (binaryData As Byte(), valueType As Uri, encodingType As Uri)
Parâmetros
- binaryData
- Byte[]
Os dados binários trocados.The binary data exchanged.
- valueType
- Uri
Um Uri que representa o tipo de valor dos dados binários.A Uri that represents the value type of the binary data.
- encodingType
- Uri
Um Uri que especifica o tipo de codificação a ser usado para codificar os dados binários.A Uri that specifies the encoding type to be used for encoding the binary data.
Exceções
binaryData é null.binaryData is null.
- ou --or-
encodingType é null.encodingType is null.
- ou --or-
valueType é null.valueType is null.
encodingType não é um URI absoluto.encodingType is not an absolute URI.
- ou --or-
valueType não é um URI absoluto.valueType is not an absolute URI.
Comentários
A tabela a seguir mostra os valores de propriedade iniciais para a nova instância.The following table shows the initial property values for the new instance.
| PropriedadeProperty | ValorValue |
|---|---|
| BinaryData | Os dados binários especificados.The specified binary data. |
| EncodingType | O tipo de codificação especificado Uri .The specified encoding type Uri. |
| ValueType | O tipo de valor especificado Uri .The specified value type Uri. |