|
|
public class ObjRef
|
|
|
: IObjectReference, ISerializable
|
|
|
public virtual IChannelInfo ChannelInfo { get; set; }
|
|
|
public virtual IEnvoyInfo EnvoyInfo { get; set; }
|
|
|
public virtual IRemotingTypeInfo TypeInfo { get; set; }
|
|
|
public virtual String URI { get; set; }
|
|
|
public virtual void GetObjectData(SerializationInfo info, StreamingContext context);
|
|
|
public virtual Object GetRealObject(StreamingContext context);
|
|
|
public Boolean IsFromThisAppDomain();
|
|
|
public Boolean IsFromThisProcess();
|
|
|
public abstract sealed class RemotingConfiguration
|
|
|
|
|
|
static public String ApplicationId { get; }
|
|
|
static public String ApplicationName { get; set; }
|
|
|
static public CustomErrorsModes CustomErrorsMode { get; set; }
|
|
|
static public String ProcessId { get; }
|
|
|
static public void Configure(String filename);
|
|
|
static public void Configure(String filename, Boolean ensureSecurity);
|
|
|
static public Boolean CustomErrorsEnabled(Boolean isLocalRequest);
|
|
|
static public ActivatedClientTypeEntry GetRegisteredActivatedClientTypes();
|
|
|
static public ActivatedServiceTypeEntry GetRegisteredActivatedServiceTypes();
|
|
|
static public WellKnownClientTypeEntry GetRegisteredWellKnownClientTypes();
|
|
|
static public WellKnownServiceTypeEntry GetRegisteredWellKnownServiceTypes();
|
|
|
static public Boolean IsActivationAllowed(Type svrType);
|
|
|
static public ActivatedClientTypeEntry IsRemotelyActivatedClientType(Type svrType);
|
|
|
static public ActivatedClientTypeEntry IsRemotelyActivatedClientType(String typeName, String assemblyName);
|
|
|
static public WellKnownClientTypeEntry IsWellKnownClientType(Type svrType);
|
|
|
static public WellKnownClientTypeEntry IsWellKnownClientType(String typeName, String assemblyName);
|
|
|
static public void RegisterActivatedClientType(Type type, String appUrl);
|
|
|
static public void RegisterActivatedClientType(ActivatedClientTypeEntry entry);
|
|
|
static public void RegisterActivatedServiceType(Type type);
|
|
|
static public void RegisterActivatedServiceType(ActivatedServiceTypeEntry entry);
|
|
|
static public void RegisterWellKnownClientType(Type type, String objectUrl);
|
|
|
static public void RegisterWellKnownClientType(WellKnownClientTypeEntry entry);
|
|
|
static public void RegisterWellKnownServiceType(Type type, String objectUri, WellKnownObjectMode mode);
|
|
|
static public void RegisterWellKnownServiceType(WellKnownServiceTypeEntry entry);
|
|
|
public abstract sealed class RemotingServices
|
|
|
|
|
|
static public Object Connect(Type classToProxy, String url);
|
|
|
static public Object Connect(Type classToProxy, String url, Object data);
|
|
|
static public Boolean Disconnect(MarshalByRefObject obj);
|
|
|
static public IMethodReturnMessage ExecuteMessage(MarshalByRefObject target, IMethodCallMessage reqMsg);
|
|
|
static public IMessageSink GetEnvoyChainForProxy(MarshalByRefObject obj);
|
|
|
static public Object GetLifetimeService(MarshalByRefObject obj);
|
|
|
static public MethodBase GetMethodBaseFromMethodMessage(IMethodMessage msg);
|
|
|
static public void GetObjectData(Object obj, SerializationInfo info, StreamingContext context);
|
|
|
static public String GetObjectUri(MarshalByRefObject obj);
|
|
|
static public ObjRef GetObjRefForProxy(MarshalByRefObject obj);
|
|
|
static public RealProxy GetRealProxy(Object proxy);
|
|
|
static public Type GetServerTypeForUri(String URI);
|
|
|
static public String GetSessionIdForMethodMessage(IMethodMessage msg);
|
|
|
static public Boolean IsMethodOverloaded(IMethodMessage msg);
|
|
|
static public Boolean IsObjectOutOfAppDomain(Object tp);
|
|
|
static public Boolean IsObjectOutOfContext(Object tp);
|
|
|
static public Boolean IsOneWay(MethodBase method);
|
|
|
static public Boolean IsTransparentProxy(Object proxy);
|
|
|
static public void LogRemotingStage(Int32 stage);
|
|
|
static public ObjRef Marshal(MarshalByRefObject Obj);
|
|
|
static public ObjRef Marshal(MarshalByRefObject Obj, String URI);
|
|
|
static public ObjRef Marshal(MarshalByRefObject Obj, String ObjURI, Type RequestedType);
|
|
|
static public void SetObjectUriForMarshal(MarshalByRefObject obj, String uri);
|
|
|
static public Object Unmarshal(ObjRef objectRef);
|
|
|
static public Object Unmarshal(ObjRef objectRef, Boolean fRefine);
|
|
|
public class SoapServices
|
|
|
|
|
|
static public String XmlNsForClrType { get; }
|
|
|
static public String XmlNsForClrTypeWithAssembly { get; }
|
|
|
static public String XmlNsForClrTypeWithNs { get; }
|
|
|
static public String XmlNsForClrTypeWithNsAndAssembly { get; }
|
|
|
static public String CodeXmlNamespaceForClrTypeNamespace(String typeNamespace, String assemblyName);
|
|
|
static public Boolean DecodeXmlNamespaceForClrTypeNamespace(String inNamespace, out String& typeNamespace, out String& assemblyName);
|
|
|
static public void GetInteropFieldTypeAndNameFromXmlAttribute(Type containingType, String xmlAttribute, String xmlNamespace, out Type& type, out String& name);
|
|
|
static public void GetInteropFieldTypeAndNameFromXmlElement(Type containingType, String xmlElement, String xmlNamespace, out Type& type, out String& name);
|
|
|
static public Type GetInteropTypeFromXmlElement(String xmlElement, String xmlNamespace);
|
|
|
static public Type GetInteropTypeFromXmlType(String xmlType, String xmlTypeNamespace);
|
|
|
static public String GetSoapActionFromMethodBase(MethodBase mb);
|
|
|
static public Boolean GetTypeAndMethodNameFromSoapAction(String soapAction, out String& typeName, out String& methodName);
|
|
|
static public Boolean GetXmlElementForInteropType(Type type, out String& xmlElement, out String& xmlNamespace);
|
|
|
static public String GetXmlNamespaceForMethodCall(MethodBase mb);
|
|
|
static public String GetXmlNamespaceForMethodResponse(MethodBase mb);
|
|
|
static public Boolean GetXmlTypeForInteropType(Type type, out String& xmlType, out String& xmlTypeNamespace);
|
|
|
static public Boolean IsClrTypeNamespace(String namespaceString);
|
|
|
static public Boolean IsSoapActionValidForMethodBase(String soapAction, MethodBase mb);
|
|
|
static public void PreLoad(Type type);
|
|
|
static public void PreLoad(Assembly assembly);
|
|
|
static public void RegisterInteropXmlElement(String xmlElement, String xmlNamespace, Type type);
|
|
|
static public void RegisterInteropXmlType(String xmlType, String xmlTypeNamespace, Type type);
|
|
|
static public void RegisterSoapActionForMethodBase(MethodBase mb);
|
|
|
static public void RegisterSoapActionForMethodBase(MethodBase mb, String soapAction);
|