 | wclCustomObexServerDoGetRequest Method |
The method called when the GET request received from an OBEX OPP
client.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 8.0.6.0
Syntaxprotected virtual void DoGetRequest(
string Name,
string Mime,
out wclObexServerOperationResult Result,
out Stream Stream
)
Protected Overridable Sub DoGetRequest (
Name As String,
Mime As String,
<OutAttribute> ByRef Result As wclObexServerOperationResult,
<OutAttribute> ByRef Stream As Stream
)
protected:
virtual void DoGetRequest(
String^ Name,
String^ Mime,
[OutAttribute] wclObexServerOperationResult% Result,
[OutAttribute] Stream^% Stream
)
Parameters
- Name String
-
A requested OBEX object's name.
- Mime String
-
A requested OBEX object's MIME type.
- Result wclObexServerOperationResult
-
An application must set this parameter to an operation result code. If
an application can send the requested object the Result must be
set to orSuccess.
- Stream Stream
-
The requested OBEX object's data stream. An application must provide
the object's stream only in case if the Result set to
orSuccess. In any other case the Stream must be
set to nil. The stream object passed to the event must be valid
during all Get operation and can be released when the
OnGetCompleted event received.
See Also