Class ClientFactory
Factory to create webservice clients.
Inheritance
System.Object
ClientFactory
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Telematic.FleetBoard
Assembly: Simplic.Telematic.FleetBoard.dll
Syntax
public static class ClientFactory
Methods
| Improve this Doc View SourceCreateClient<T>(String)
Creates a webservice client.
Declaration
public static T CreateClient<T>(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | The URL of the webservice |
Returns
Type | Description |
---|---|
T | A webservice instance. |
Type Parameters
Name | Description |
---|---|
T | The webservice type |
CreateClient<T>(String, String)
Creates a webservice client with an existing session id.
Declaration
public static T CreateClient<T>(string url, string sessionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | The URL of the webservice |
System.String | sessionId | The session id. |
Returns
Type | Description |
---|---|
T | A webservice instance. |
Type Parameters
Name | Description |
---|---|
T | The webservice type |