AssemblyLocator 類別

定義

尋找組件 (Assembly) 並傳回其模組的資訊。Locates an assembly and returns information about its modules.

public ref class AssemblyLocator : MarshalByRefObject
[System.Runtime.InteropServices.Guid("458aa3b5-265a-4b75-bc05-9bea4630cf18")]
public class AssemblyLocator : MarshalByRefObject
[<System.Runtime.InteropServices.Guid("458aa3b5-265a-4b75-bc05-9bea4630cf18")>]
type AssemblyLocator = class
    inherit MarshalByRefObject
Public Class AssemblyLocator
Inherits MarshalByRefObject
繼承
AssemblyLocator
屬性

備註

AssemblyLocator .NET Framework 會在內部使用。AssemblyLocator is used internally by the .NET Framework. 您不需要直接在程式碼中使用類別。You do not need to use the class directly in your code.

建構函式

AssemblyLocator()

初始化 AssemblyLocator 類別的新執行個體。Initializes a new instance of the AssemblyLocator class.

方法

CreateObjRef(Type)

建立包含所有相關資訊的物件,這些資訊是產生用來與遠端物件通訊的所需 Proxy。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(繼承來源 MarshalByRefObject)
Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetLifetimeService()
已過時。

擷取控制這個執行個體存留期 (Lifetime) 原則的目前存留期服務物件。Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(繼承來源 MarshalByRefObject)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
InitializeLifetimeService()
已過時。

取得存留期服務物件,以控制這個執行個體的存留期原則。Obtains a lifetime service object to control the lifetime policy for this instance.

(繼承來源 MarshalByRefObject)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
MemberwiseClone(Boolean)

建立目前 MarshalByRefObject 物件的淺層複本。Creates a shallow copy of the current MarshalByRefObject object.

(繼承來源 MarshalByRefObject)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於