| Visual Basic (Declaration) | |
|---|---|
Public Overloads Function Invoke( _ ByVal command As String _ ) As ImapResponse() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Imap Dim command As String Dim value() As ImapResponse value = instance.Invoke(command) | |
| C# | |
|---|---|
public ImapResponse[] Invoke( string command ) | |
| Managed Extensions for C++ | |
|---|---|
public: ImapResponse*[]* Invoke( string* command ) | |
| C++/CLI | |
|---|---|
public: array<ImapResponse^>^ Invoke( String^ command ) | |
Parameters
- command
- The command to issue to the server.
Return Value
An ImapResponse object representing the response from the server.| Exception | Description |
|---|---|
| Dart.PowerTCP.Mail.ProtocolException | Bad IMAP protocol response received from server. |
| System.Net.Sockets.SocketException | The requested address is not valid in its context. |
The Imap.Invoke method sends out the specified command. This is useful for enabling communication with servers that recognize proprietary commands not included in the Imap component model.
Target Platforms: Microsoft .NET Framework 2.0