Class ExternalObjectRequest
An object obtained by name rather than by its class: what CreateObject and GetObject ask for (MS-VBAL §6.1.2.8.1.3,
§6.1.2.8.1.9), which a program binds to late - through what the object answers to by name, whatever a type library says of it.
public sealed record ExternalObjectRequest : IEquatable<ExternalObjectRequest>
- Inheritance
-
ExternalObjectRequest
- Implements
- Inherited Members
Remarks
A growable record rather than a parameter list, as ExternalCallRequest is, so that what a request can say grows without another member on every server.
Constructors
ExternalObjectRequest(ExternalObjectSource, string?, string?, string?)
An object obtained by name rather than by its class: what CreateObject and GetObject ask for (MS-VBAL §6.1.2.8.1.3,
§6.1.2.8.1.9), which a program binds to late - through what the object answers to by name, whatever a type library says of it.
public ExternalObjectRequest(ExternalObjectSource Source, string? ProgId, string? PathName = null, string? ServerName = null)
Parameters
SourceExternalObjectSourceWhere the object comes from.
ProgIdstringThe programmatic identifier of its class (
Scripting.Dictionary), or null for a file that says its own.PathNamestringThe file, or the moniker, of an object from File.
ServerNamestringThe machine an object from Create is created on; null or empty for this one.
Remarks
A growable record rather than a parameter list, as ExternalCallRequest is, so that what a request can say grows without another member on every server.
Properties
PathName
The file, or the moniker, of an object from File.
public string? PathName { get; init; }
Property Value
ProgId
The programmatic identifier of its class (Scripting.Dictionary), or null for a file that says its own.
public string? ProgId { get; init; }
Property Value
ServerName
public string? ServerName { get; init; }
Property Value
Source
Where the object comes from.
public ExternalObjectSource Source { get; init; }
Property Value
Methods
Describe()
The request as the call it is written as: what a log, and the verbose half of an error, say of it.
public string Describe()