Show / Hide Table of Contents

Class INTERNAL_WebMethodsCaller

Inheritance
System.Object
INTERNAL_WebMethodsCaller
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.ServiceModel
Assembly: OpenSilver.dll
Syntax
public static class INTERNAL_WebMethodsCaller

Fields

| Improve this Doc View Source

AsyncStateParameterName

Key for the asyncState paramater that must be passed as part of the request parameters IDictionary for asynchronous request with Begin/End pattern.

Declaration
public const string AsyncStateParameterName = "asyncState"
Field Value
Type Description
System.String
| Improve this Doc View Source

CallbackParameterName

Key for the AsyncCallback paramater that must be passed as part of the request parameters IDictionary for asynchronous request with Begin/End pattern.

Declaration
public const string CallbackParameterName = "callback"
Field Value
Type Description
System.String
| Improve this Doc View Source

ResultParameterName

Key for the IAsyncResult paramater that must be passed as part of the request parameters IDictionary for asynchronous request with Begin/End pattern.

Declaration
public const string ResultParameterName = "result"
Field Value
Type Description
System.String

Methods

| Improve this Doc View Source

BeginCallWebMethod<INTERFACE_TYPE>(String, String, Type, IDictionary<String, Object>, String)

Declaration
public static IAsyncResult BeginCallWebMethod<INTERFACE_TYPE>(string endpointAddress, string webMethodName, Type methodReturnType, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Type methodReturnType
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
System.IAsyncResult
Type Parameters
Name Description
INTERFACE_TYPE
| Improve this Doc View Source

BeginCallWebMethod<INTERFACE_TYPE>(String, String, Type, IReadOnlyList<Type>, String, IDictionary<String, Object>, String)

Declaration
public static IAsyncResult BeginCallWebMethod<INTERFACE_TYPE>(string endpointAddress, string webMethodName, Type methodReturnType, IReadOnlyList<Type> knownTypes, string messageHeaders, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Type methodReturnType
System.Collections.Generic.IReadOnlyList<System.Type> knownTypes
System.String messageHeaders
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
System.IAsyncResult
Type Parameters
Name Description
INTERFACE_TYPE
| Improve this Doc View Source

BeginCallWebMethod<INTERFACE_TYPE>(String, String, Type, String, IDictionary<String, Object>, String)

Declaration
public static IAsyncResult BeginCallWebMethod<INTERFACE_TYPE>(string endpointAddress, string webMethodName, Type methodReturnType, string messageHeaders, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Type methodReturnType
System.String messageHeaders
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
System.IAsyncResult
Type Parameters
Name Description
INTERFACE_TYPE
| Improve this Doc View Source

BeginCallWebMethod<RETURN_TYPE, INTERFACE_TYPE>(String, String, IDictionary<String, Object>, String)

Declaration
public static IAsyncResult BeginCallWebMethod<RETURN_TYPE, INTERFACE_TYPE>(string endpointAddress, string webMethodName, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
System.IAsyncResult
Type Parameters
Name Description
RETURN_TYPE
INTERFACE_TYPE
| Improve this Doc View Source

CallWebMethod_WithoutReturnValue<INTERFACE_TYPE>(String, String, IDictionary<String, Object>, String)

Declaration
public static void CallWebMethod_WithoutReturnValue<INTERFACE_TYPE>(string endpointAddress, string webMethodName, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Type Parameters
Name Description
INTERFACE_TYPE
| Improve this Doc View Source

CallWebMethod_WithoutReturnValue<INTERFACE_TYPE>(String, String, IEnumerable<MessageHeader>, IDictionary<String, Object>, String)

Declaration
public static (object, MessageHeaders) CallWebMethod_WithoutReturnValue<INTERFACE_TYPE>(string endpointAddress, string webMethodName, IEnumerable<MessageHeader> outgoingMessageHeaders, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Collections.Generic.IEnumerable<System.ServiceModel.Channels.MessageHeader> outgoingMessageHeaders
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
System.ValueTuple<System.Object, System.ServiceModel.Channels.MessageHeaders>
Type Parameters
Name Description
INTERFACE_TYPE
| Improve this Doc View Source

CallWebMethod<RETURN_TYPE, INTERFACE_TYPE>(String, String, IDictionary<String, Object>, String)

Declaration
public static RETURN_TYPE CallWebMethod<RETURN_TYPE, INTERFACE_TYPE>(string endpointAddress, string webMethodName, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
RETURN_TYPE
Type Parameters
Name Description
RETURN_TYPE
INTERFACE_TYPE
| Improve this Doc View Source

CallWebMethod<RETURN_TYPE, INTERFACE_TYPE>(String, String, IEnumerable<MessageHeader>, IDictionary<String, Object>, String)

Declaration
public static (RETURN_TYPE, MessageHeaders) CallWebMethod<RETURN_TYPE, INTERFACE_TYPE>(string endpointAddress, string webMethodName, IEnumerable<MessageHeader> outgoingMessageHeaders, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Collections.Generic.IEnumerable<System.ServiceModel.Channels.MessageHeader> outgoingMessageHeaders
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
System.ValueTuple<RETURN_TYPE, System.ServiceModel.Channels.MessageHeaders>
Type Parameters
Name Description
RETURN_TYPE
INTERFACE_TYPE
| Improve this Doc View Source

CallWebMethodAsync_WithoutReturnValue<INTERFACE_TYPE>(String, String, IDictionary<String, Object>, String)

Declaration
public static Task CallWebMethodAsync_WithoutReturnValue<INTERFACE_TYPE>(string endpointAddress, string webMethodName, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
System.Threading.Tasks.Task
Type Parameters
Name Description
INTERFACE_TYPE
| Improve this Doc View Source

CallWebMethodAsync_WithoutReturnValue<INTERFACE_TYPE>(String, String, IEnumerable<MessageHeader>, IDictionary<String, Object>, String)

Declaration
public static Task<(object, MessageHeaders)> CallWebMethodAsync_WithoutReturnValue<INTERFACE_TYPE>(string endpointAddress, string webMethodName, IEnumerable<MessageHeader> outgoingMessageHeaders, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Collections.Generic.IEnumerable<System.ServiceModel.Channels.MessageHeader> outgoingMessageHeaders
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Object, System.ServiceModel.Channels.MessageHeaders>>
Type Parameters
Name Description
INTERFACE_TYPE
| Improve this Doc View Source

CallWebMethodAsync<RETURN_TYPE, INTERFACE_TYPE>(String, String, IDictionary<String, Object>, String)

Declaration
public static Task<RETURN_TYPE> CallWebMethodAsync<RETURN_TYPE, INTERFACE_TYPE>(string endpointAddress, string webMethodName, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
System.Threading.Tasks.Task<RETURN_TYPE>
Type Parameters
Name Description
RETURN_TYPE
INTERFACE_TYPE
| Improve this Doc View Source

CallWebMethodAsync<RETURN_TYPE, INTERFACE_TYPE>(String, String, IEnumerable<MessageHeader>, IDictionary<String, Object>, String)

Declaration
public static Task<(RETURN_TYPE, MessageHeaders)> CallWebMethodAsync<RETURN_TYPE, INTERFACE_TYPE>(string endpointAddress, string webMethodName, IEnumerable<MessageHeader> outgoingMessageHeaders, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Collections.Generic.IEnumerable<System.ServiceModel.Channels.MessageHeader> outgoingMessageHeaders
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<RETURN_TYPE, System.ServiceModel.Channels.MessageHeaders>>
Type Parameters
Name Description
RETURN_TYPE
INTERFACE_TYPE
| Improve this Doc View Source

EndCallWebMethod_WithoutReturnValue<INTERFACE_TYPE>(String, String, IDictionary<String, Object>, String)

Declaration
public static void EndCallWebMethod_WithoutReturnValue<INTERFACE_TYPE>(string endpointAddress, string webMethodName, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Type Parameters
Name Description
INTERFACE_TYPE
| Improve this Doc View Source

EndCallWebMethod<INTERFACE_TYPE>(String, String, Type, IDictionary<String, Object>, String)

Declaration
public static object EndCallWebMethod<INTERFACE_TYPE>(string endpointAddress, string webMethodName, Type methodReturnType, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Type methodReturnType
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
System.Object
Type Parameters
Name Description
INTERFACE_TYPE
| Improve this Doc View Source

EndCallWebMethod<INTERFACE_TYPE>(String, String, Type, IReadOnlyList<Type>, IDictionary<String, Object>, String)

Declaration
public static object EndCallWebMethod<INTERFACE_TYPE>(string endpointAddress, string webMethodName, Type methodReturnType, IReadOnlyList<Type> knownTypes, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Type methodReturnType
System.Collections.Generic.IReadOnlyList<System.Type> knownTypes
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
System.Object
Type Parameters
Name Description
INTERFACE_TYPE
| Improve this Doc View Source

EndCallWebMethod<RETURN_TYPE, INTERFACE_TYPE>(String, String, IDictionary<String, Object>, String)

Declaration
public static RETURN_TYPE EndCallWebMethod<RETURN_TYPE, INTERFACE_TYPE>(string endpointAddress, string webMethodName, IDictionary<string, object> requestParameters, string soapVersion)
    where INTERFACE_TYPE : class
Parameters
Type Name Description
System.String endpointAddress
System.String webMethodName
System.Collections.Generic.IDictionary<System.String, System.Object> requestParameters
System.String soapVersion
Returns
Type Description
RETURN_TYPE
Type Parameters
Name Description
RETURN_TYPE
INTERFACE_TYPE
  • Improve this Doc
  • View Source