# ServiceData Constructor

## Overloads

| [ServiceData(String, String, Int32, Type)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.Services.ServiceSupport.ServiceData.-ctor.htm#PIX_Services_ServiceSupport_ServiceData__ctor_System_String_System_String_System_Int32_System_Type_) |  |  |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.ServiceSupport.ServiceData.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.ServiceSupport.ServiceData.-ctor.htm)

## ServiceData(String, String, Int32, Type)

### Declaration

```

          public ServiceData(string nameSpace, string serviceName, int defaultPort, Type interfaceType)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | nameSpace |  |
| System.String | serviceName |  |
| System.Int32 | defaultPort |  |
| System.Type | interfaceType |  |