[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
[OperationContractAttribute(Name="SelectSource", Action="SelectSource")]
void SelectSource(
string ,
string ,
object
)
'Declaration
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=True,
IsRequestFormatSetExplicitly=True,
IsResponseFormatSetExplicitly=True,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)>
<OperationContractAttribute(Name="SelectSource", Action="SelectSource")>
Sub SelectSource( _
ByVal As String, _
ByVal As String, _
ByVal As Object _
)
'Usage
Dim instance As ITwainService
Dim id As String
Dim sourceName As String
Dim userData As Object
instance.SelectSource(id, sourceName, userData)
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
[OperationContractAttribute(Name="SelectSource", Action="SelectSource")]
void SelectSource(
String^ ,
String^ ,
Object^
)