 | wclCustomObexServerDoPutCompleted Method |
Calls the OnPutCompleted event.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 8.0.6.0
Syntaxprotected virtual void DoPutCompleted(
int Error,
Stream Stream,
out bool Accept
)
Protected Overridable Sub DoPutCompleted (
Error As Integer,
Stream As Stream,
<OutAttribute> ByRef Accept As Boolean
)
protected:
virtual void DoPutCompleted(
int Error,
Stream^ Stream,
[OutAttribute] bool% Accept
)
Parameters
- Error Int32
-
The operation completion reason code.
- 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 insode 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 nil or empty if received object
does not have body (data).
See Also