BinaryExchange Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the BinaryExchange class.
Overloads
BinaryExchange(Byte[], Uri) |
Creates a new instance of the BinaryExchange class with the specified data and ValueType URI. |
BinaryExchange(Byte[], Uri, Uri) |
Creates a new instance of the BinaryExchange with the specified data, ValueType URI, and EncodingType URI. |
BinaryExchange(Byte[], Uri)
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)
Parameters
- binaryData
- Byte[]
The binary data exchanged.
Exceptions
valueType
is not an absolute URI.
Remarks
The following table shows the initial property values for the new instance.
Property | Value |
---|---|
BinaryData | The specified binary data. |
EncodingType | A Uri based on the System.IdentityModel.WSSecurity10Constants.EncodingTypes.Base64 constant. |
ValueType | The specified value type Uri. |
Applies to
BinaryExchange(Byte[], Uri, Uri)
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)
Parameters
- binaryData
- Byte[]
The binary data exchanged.
Exceptions
Remarks
The following table shows the initial property values for the new instance.
Property | Value |
---|---|
BinaryData | The specified binary data. |
EncodingType | The specified encoding type Uri. |
ValueType | The specified value type Uri. |