wclObexServerClientPutCompletedEvent Delegate |
The OBEX server data processor OnPutCompleted event
handler prototype.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 7.9.6.0 (7.9.6.0)
Syntaxpublic delegate void wclObexServerClientPutCompletedEvent(
Object Sender,
int Error,
Stream Stream,
out bool Accept
)
Public Delegate Sub wclObexServerClientPutCompletedEvent (
Sender As Object,
Error As Integer,
Stream As Stream,
<OutAttribute> ByRef Accept As Boolean
)
public delegate void wclObexServerClientPutCompletedEvent(
Object^ Sender,
int Error,
Stream^ Stream,
[OutAttribute] bool% Accept
)
Parameters
- Sender Object
- The object that initiated the event.
- Error Int32
- The operation completion reason code. If operation
completed with success the Reason is WCL_E_SUCCESS. An
application may accept or reject all the object by setting the
Accept parameter.
- Stream Stream
- The received object's data stream.
- Accept Boolean
- Set this parameter to True to accept the
object. Set this parameter to False to reject the object. In case
if object rejected the OBEX Forbidden error will be send.
Remarks The Stream parameter contains the received object's data.
This parameter is valid only inside the event handler and must be saved
or copied by an application if an application needs to use it later.
The Stream parameter can be null or empty if received
object does not have body (data).
See Also