LogicalMethodInfo LogicalMethodInfo LogicalMethodInfo LogicalMethodInfo Class

Definition

Represents the attributes and metadata for an XML Web service method. This class cannot be inherited.

public ref class LogicalMethodInfo sealed
public sealed class LogicalMethodInfo
type LogicalMethodInfo = class
Public NotInheritable Class LogicalMethodInfo
Inheritance
LogicalMethodInfoLogicalMethodInfoLogicalMethodInfoLogicalMethodInfo

Remarks

LogicalMethodInfo is used primarily by a SOAP extension to interrogate the details of the XML Web service method with which the SOAP extension is configured to run. Depending on how the SOAP extension is configured, it can find out details about the XML Web service method in the GetInitializer method of SoapExtension that takes a LogicalMethodInfo. The LogicalMethodInfo provides details such as the XML Web service method's parameters by accessing the Parameters property and any custom attributes applied to the XML Web service method using the GetCustomAttributes property.

For more details on SOAP extensions see the SoapExtension class or SOAP Message Modification Using SOAP Extensions.

Constructors

LogicalMethodInfo(MethodInfo) LogicalMethodInfo(MethodInfo) LogicalMethodInfo(MethodInfo) LogicalMethodInfo(MethodInfo)

Initializes a new instance of the LogicalMethodInfo class with the MethodInfo passed in.

Properties

AsyncCallbackParameter AsyncCallbackParameter AsyncCallbackParameter AsyncCallbackParameter

Gets the parameter information for the AsyncCallback parameter of a Begin method in an asynchronous invocation.

AsyncResultParameter AsyncResultParameter AsyncResultParameter AsyncResultParameter

Gets the return value of a Begin asynchronous method invocation.

AsyncStateParameter AsyncStateParameter AsyncStateParameter AsyncStateParameter

Gets the parameter information for the AsyncState parameter of a Begin method in an asynchronous invocation.

BeginMethodInfo BeginMethodInfo BeginMethodInfo BeginMethodInfo

Gets the attributes and metadata for a Begin method in an asynchronous invocation.

CustomAttributeProvider CustomAttributeProvider CustomAttributeProvider CustomAttributeProvider

Gets the custom attributes applied to the method.

DeclaringType DeclaringType DeclaringType DeclaringType

Gets the class that declares the method represented by the current LogicalMethodInfo.

EndMethodInfo EndMethodInfo EndMethodInfo EndMethodInfo

Gets the attributes and metadata for an End method of an asynchronous invocation to a method.

InParameters InParameters InParameters InParameters

Gets the parameters passed into the method represented by the instance of LogicalMethodInfo.

IsAsync IsAsync IsAsync IsAsync

Gets a value indicating whether the method represented by the instance of LogicalMethodInfo is invoked asynchronously.

IsVoid IsVoid IsVoid IsVoid

Gets a value indicating whether the return type for the method represented by the instance of LogicalMethodInfo is void.

MethodInfo MethodInfo MethodInfo MethodInfo

Gets the attributes and metadata for a synchronous method.

Name Name Name Name

Gets the name of the method represented by this LogicalMethodInfo.

OutParameters OutParameters OutParameters OutParameters

Gets the out parameters for the method.

Parameters Parameters Parameters Parameters

Gets the parameters for the method.

ReturnType ReturnType ReturnType ReturnType

Gets the return type of this method.

ReturnTypeCustomAttributeProvider ReturnTypeCustomAttributeProvider ReturnTypeCustomAttributeProvider ReturnTypeCustomAttributeProvider

Gets the custom attributes for the return type.

Methods

BeginInvoke(Object, Object[], AsyncCallback, Object) BeginInvoke(Object, Object[], AsyncCallback, Object) BeginInvoke(Object, Object[], AsyncCallback, Object) BeginInvoke(Object, Object[], AsyncCallback, Object)

Begins an asynchronous invocation of the method represented by this LogicalMethodInfo.

Create(MethodInfo[]) Create(MethodInfo[]) Create(MethodInfo[]) Create(MethodInfo[])

Given an array of MethodInfo that can contain information about both asynchronous and synchronous methods, creates an array of LogicalMethodInfo.

Create(MethodInfo[], LogicalMethodTypes) Create(MethodInfo[], LogicalMethodTypes) Create(MethodInfo[], LogicalMethodTypes) Create(MethodInfo[], LogicalMethodTypes)

Given an array of MethodInfo, where the returned array of LogicalMethodInfo can be restricted to only asynchronous or synchronous methods, creates an array of LogicalMethodInfo.

EndInvoke(Object, IAsyncResult) EndInvoke(Object, IAsyncResult) EndInvoke(Object, IAsyncResult) EndInvoke(Object, IAsyncResult)

Ends an asynchronous invocation of the method represented by the current LogicalMethodInfo.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetCustomAttribute(Type) GetCustomAttribute(Type) GetCustomAttribute(Type) GetCustomAttribute(Type)

Returns the first custom attribute applied to the type, if any custom attributes are applied to the type.

GetCustomAttributes(Type) GetCustomAttributes(Type) GetCustomAttributes(Type) GetCustomAttributes(Type)

Returns the custom attributes applied to the specified type.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Invoke(Object, Object[]) Invoke(Object, Object[]) Invoke(Object, Object[]) Invoke(Object, Object[])

Invokes the method represented by the current LogicalMethodInfo.

IsBeginMethod(MethodInfo) IsBeginMethod(MethodInfo) IsBeginMethod(MethodInfo) IsBeginMethod(MethodInfo)

Returns a value indicating whether the method passed in represents a Begin method of an asynchronous invocation.

IsEndMethod(MethodInfo) IsEndMethod(MethodInfo) IsEndMethod(MethodInfo) IsEndMethod(MethodInfo)

Returns a value indicating whether the method passed in represents an End method of an asynchronous invocation.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current LogicalMethodInfo.

Applies to

See also