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
)
<OperationContractAttribute(Name="AbortAcquire", Action="AbortAcquire")>
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=True,
IsRequestFormatSetExplicitly=True,
IsResponseFormatSetExplicitly=True,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)>
Sub AbortAcquire( _
ByVal id As String, _
ByVal userData As Object _
)
[OperationContractAttribute(Name="AbortAcquire", Action="AbortAcquire")]
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
void AbortAcquire(
String^ id,
Object^ userData
)
Parameters
id
The scanning session Id.