com.onlineobject.objectnet Namespace

NatDevice..::..DeletePortMapAsync Method

Deletes a mapped port asynchronous.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public Task DeletePortMapAsync(

	Mapping mapping

)

Parameters

mapping
Type: com.onlineobject.objectnet..::..Mapping
The Mapping entry.

Exceptions


ExceptionCondition
com.onlineobject.objectnet..::..MappingExceptionMappingException-class

Examples


device.DeletePortMapAsync(new Mapping(Protocol.Tcp, 1700, 1600));