LogicalMethodInfo Class
TOC
Collapse the table of content
Expand the table of content

LogicalMethodInfo Class

 

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

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

System.Object
  System.Web.Services.Protocols.LogicalMethodInfo

public sealed class LogicalMethodInfo

NameDescription
System_CAPS_pubmethodLogicalMethodInfo(MethodInfo)

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

NameDescription
System_CAPS_pubpropertyAsyncCallbackParameter

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

System_CAPS_pubpropertyAsyncResultParameter

Gets the return value of a Begin asynchronous method invocation.

System_CAPS_pubpropertyAsyncStateParameter

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

System_CAPS_pubpropertyBeginMethodInfo

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

System_CAPS_pubpropertyCustomAttributeProvider

Gets the custom attributes applied to the method.

System_CAPS_pubpropertyDeclaringType

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

System_CAPS_pubpropertyEndMethodInfo

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

System_CAPS_pubpropertyInParameters

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

System_CAPS_pubpropertyIsAsync

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

System_CAPS_pubpropertyIsVoid

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

System_CAPS_pubpropertyMethodInfo

Gets the attributes and metadata for a synchronous method.

System_CAPS_pubpropertyName

Gets the name of the method represented by this LogicalMethodInfo.

System_CAPS_pubpropertyOutParameters

Gets the out parameters for the method.

System_CAPS_pubpropertyParameters

Gets the parameters for the method.

System_CAPS_pubpropertyReturnType

Gets the return type of this method.

System_CAPS_pubpropertyReturnTypeCustomAttributeProvider

Gets the custom attributes for the return type.

NameDescription
System_CAPS_pubmethodBeginInvoke(Object, Object[], AsyncCallback, Object)

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

System_CAPS_pubmethodSystem_CAPS_staticCreate(MethodInfo[])

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

System_CAPS_pubmethodSystem_CAPS_staticCreate(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.

System_CAPS_pubmethodEndInvoke(Object, IAsyncResult)

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

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetCustomAttribute(Type)

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

System_CAPS_pubmethodGetCustomAttributes(Type)

Returns the custom attributes applied to the specified type.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInvoke(Object, Object[])

Invokes the method represented by the current LogicalMethodInfo.

System_CAPS_pubmethodSystem_CAPS_staticIsBeginMethod(MethodInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticIsEndMethod(MethodInfo)

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

System_CAPS_pubmethodToString()

Returns a string that represents the current LogicalMethodInfo.(Overrides Object.ToString().)

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 [<topic://cpconAlteringSOAPMessageUsingSOAPExtensions>].

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft