DeviceAgentTransportFactory Class

Used to get objects that implement IDeviceAgentTransport.

Namespace:  Microsoft.SmartDevice.DeviceAgentTransport
Assembly:  Microsoft.SmartDevice.DeviceAgentTransport (in Microsoft.SmartDevice.DeviceAgentTransport.dll)


Public NotInheritable Class DeviceAgentTransportFactory
You do not need to declare an instance of a static class in order to access its members.
public static class DeviceAgentTransportFactory
public ref class DeviceAgentTransportFactory abstract sealed
public final class DeviceAgentTransportFactory


Do not create objects of this type. The purpose of this class is to get objects that implement IDeviceAgentTransport.

Use IDeviceAgentTransport to accept connections and create streams from the device to the development computer.


' Get an instance of Device Agent Transport 
Dim transport As IDeviceAgentTransport = _
// Get an instance of Device Agent Transport
IDeviceAgentTransport transport = DeviceAgentTransportFactory.GetAgentTransport();

Inheritance Hierarchy


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


DeviceAgentTransportFactory Members

Microsoft.SmartDevice.DeviceAgentTransport Namespace