Syntax
[WebInvokeAttribute(BodyStyle=2,
Method="POST",
RequestFormat=1,
ResponseFormat=1)]
[OperationContractAttribute(Name="AbortAcquire",
Action="AbortAcquire",
AsyncPattern=false,
IsOneWay=false,
IsInitiating=true,
IsTerminating=false)]
public void AbortAcquire(
string id,
object userData
)
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=True,
IsRequestFormatSetExplicitly=True,
IsResponseFormatSetExplicitly=True,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)>
<OperationContractAttribute(Name="AbortAcquire", Action="AbortAcquire")>
Sub AbortAcquire( _
ByVal id As String, _
ByVal userData As Object _
)
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
[OperationContractAttribute(Name="AbortAcquire", Action="AbortAcquire")]
void AbortAcquire(
String^ id,
Object^ userData
)
Parameters
id
The scanning session Id.