Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ' NOTE: You can use the "Rename" command on the context menu to change the interface name "IService1" in both code and config file together.
- <ServiceContract()>
- Public Interface AllService
- <OperationContract()>
- Function GetData(ByVal value As Integer) As String
- <OperationContract()>
- Function GetDataUsingDataContract(ByVal composite As CompositeType) As CompositeType
- ' TODO: Add your service operations here
- Function Tambah(ByVal param1 As String, ByVal param2 As String) As String
- End Interface
- ' Use a data contract as illustrated in the sample below to add composite types to service operations.
- <DataContract()>
- Public Class CompositeType
- <DataMember()>
- Public Property BoolValue() As Boolean
- <DataMember()>
- Public Property StringValue() As String
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement