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