| GDSecureMimeDecoderDecodeAsync Method |
Decodes an SMIME message.
Namespace:
GD
Assembly:
GD (in GD.dll) Version: 255.255.255.255
Syntax public IAsyncOperation<GDSecureMimeError> DecodeAsync()
public:
virtual IAsyncOperation<GDSecureMimeError>^ DecodeAsync() sealed
Return Value
Type:
IAsyncOperationGDSecureMimeErrorNone if decoding was successful and the SMIME message is ready for further processing.
[!:GD::GDSecureMimeError::ParsingError] if there are no more parts in this multipart message.
Exceptions Exception | Condition |
---|
InvalidArgumentException | Throws InvalidArgumentException when input data was null or empty. |
FailureException | Throws FailureException when unable to acquire memory buffer from input. |
Remarks
This has to be called before any calls to
DecodeAsync or
VerifySignatureAsync.
After successful decryption or signature verification of a multipart SMIME message, one has to call Decode again to proceed to processing the next part of the message.
See Also