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