Editare

Partajați prin


RemotingClientProxy Class

Definition

The abstract base class for proxies to well-known objects that were generated by the Soapsuds Tool (Soapsuds.exe).

public ref class RemotingClientProxy abstract : System::ComponentModel::Component
public abstract class RemotingClientProxy : System.ComponentModel.Component
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class RemotingClientProxy : System.ComponentModel.Component
type RemotingClientProxy = class
    inherit Component
[<System.Runtime.InteropServices.ComVisible(true)>]
type RemotingClientProxy = class
    inherit Component
Public MustInherit Class RemotingClientProxy
Inherits Component
Inheritance
RemotingClientProxy
Attributes

Remarks

RemotingClientProxy provides access to the frequently used properties for Soapsuds-generated proxies that point to well-known objects (XML Web services).

Constructors

RemotingClientProxy()

Creates an instance of RemotingClientProxy.

Fields

_tp

The transparent proxy inside the remoting client proxy object.

_type

Indicates the type of the object that the current proxy represents.

_url

Indicates the URL of the object that the current proxy represents.

Properties

AllowAutoRedirect

Gets or sets a value that indicates whether the automatic handling of server redirects is enabled.

CanRaiseEvents

Gets a value indicating whether the component can raise an event.

(Inherited from Component)
Container

Gets the IContainer that contains the Component.

(Inherited from Component)
Cookies

This property is not currently implemented. The property returns null (Nothing in Visual Basic).

DesignMode

Gets a value that indicates whether the Component is currently in design mode.

(Inherited from Component)
Domain

Gets or sets the domain name to be used for basic authentication and digest authentication.

EnableCookies

This property is not currently implemented. The property throws a NotSupportedException.

Events

Gets the list of event handlers that are attached to this Component.

(Inherited from Component)
Password

Gets or sets the password to use for basic authentication and digest authentication.

Path

Gets or sets the base URL to the server to use for requests.

PreAuthenticate

Gets or sets a value that indicates whether preauthentication of requests is enabled.

ProxyName

Gets or sets the name of the proxy server to use for requests.

ProxyPort

Gets or sets the port number of the proxy server to use for requests.

Site

Gets or sets the ISite of the Component.

(Inherited from Component)
Timeout

Gets or sets the time-out in milliseconds to use for synchronous calls.

Url

Gets or sets the base URL to the server to use for requests.

UserAgent

Gets or sets the user agent HTTP header for the request.

Username

Gets or sets the user name to send for basic authentication and digest authentication.

Methods

ConfigureProxy(Type, String)

Internal. Automatically configures the proxy by loading the channels, if they are not already loaded and creating the proxy.

ConnectProxy()

Internal. Connects the proxy to the remoting channel that is specified by the Url property.

CreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Dispose()

Releases all resources used by the Component.

(Inherited from Component)
Dispose(Boolean)

Releases the unmanaged resources used by the Component and optionally releases the managed resources.

(Inherited from Component)
Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService()
Obsolete.

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetService(Type)

Returns an object that represents a service provided by the Component or by its Container.

(Inherited from Component)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService()
Obsolete.

Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
ToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.

(Inherited from Component)

Events

Disposed

Occurs when the component is disposed by a call to the Dispose() method.

(Inherited from Component)

Applies to