Tamino API for .NET

TaminoResponse Class

Represents Tamino response information in response to a command invocation.

For a list of all members of this type, see TaminoResponse Members.

System.Object
   TaminoResponse

[Visual Basic]
Public Class TaminoResponse
[C#]
public class TaminoResponse

Remarks

The ReturnValue should be checked first to see if the command was successful or not.

If the command was not successful then ErrorText may be used to provide more information as to why the command failed.

If the command was successful then XmlDocument or SoftwareAG.Tamino.Api.TaminoResponse.NonXmlDocument should be used if data was expected in response to the command invocation.

Example

The following code snippet demonstrates the usage of a command invocation's response.

            if (response.ReturnValue == "0")
            {
                // command was OK - do some more
            }
            else
            {
                Console.WriteLine("command failed: "+response.ErrorText);
            }
            

Requirements

Namespace: SoftwareAG.Tamino.Api Namespace

Assembly: TaminoAPI.dll

See Also

TaminoResponse Members | SoftwareAG.Tamino.Api Namespace