Свойство | Тип | Описание | |
---|---|---|---|
CloseHandle | bool | ||
CoCreateInstanceEx | void | ||
CoGetClassObject | void | ||
CoInitializeSecurity | int | ||
CoQueryProxyBlanket | int | ||
CoSetProxyBlanket | int | ||
ConvertCase | char | ||
DuplicateToken | bool | ||
FormatMessageW | int | ||
GetSystemDefaultLangID | int | ||
GetUserDefaultLangID | int | ||
IsLocalHost | bool | ||
LogonUser | bool | ||
NetApiBufferFree | int | ||
NetServerEnum | int | ||
VariantChangeTypeEx | int | ||
VariantClear | void | ||
VariantInit | void | ||
VariantToObjectArray |
Метод | Описание | |
---|---|---|
ChangeTypeForCOM ( object source, VarEnum sourceType, VarEnum targetType, object &target ) : int |
Converts a value to the specified type using COM conversion rules.
|
|
ChangeTypeForCOM ( object source, VarEnum targetType, object &target ) : int |
Converts a value to the specified type using COM conversion rules.
|
|
CompareLocales ( int localeId, string locale, bool ignoreRegion ) : bool |
Compares a string locale to a WIN32 localeId
|
|
CreateComException ( |
Converts an exception to an exception that returns a COM error code.
|
|
CreateComException ( |
Converts an exception to an exception that returns a COM error code.
|
|
CreateComException ( int errorId ) : |
Converts an exception to an exception that returns a COM error code.
|
|
CreateComException ( string message, int errorId ) : |
Creates a COM exception.
|
|
CreateException ( |
Creates an error message for a failed COM function call.
|
|
CreateInstance ( System.Guid clsid, string hostName, |
Creates an instance of a COM server using the specified license key.
|
|
CreateInstance1 ( System.Guid clsid, string hostName, |
Creates an instance of a COM server.
|
|
CreateInstance2 ( System.Guid clsid, string hostName, |
Creates an instance of a COM server using the specified license key.
|
|
CreateInstanceWithLicenseKey ( System.Guid clsid, string hostName, |
Creates an instance of a COM server using the specified license key.
|
|
EnumComputers ( ) : string[] |
Enumerates computers on the local network.
|
|
GetAccessRights ( byte accessLevel ) : int |
Converts the UA access level to DA access rights.
|
|
GetDataTypeId ( short input ) : NodeId |
Converts the VARTYPE to a UA Data Type ID.
|
|
GetDataTypeId ( short input, bool &isArray ) : NodeId |
Converts the VARTYPE to a UA Data Type ID.
|
|
GetDateTime ( |
Unmarshals a WIN32 FILETIME from a pointer.
|
|
GetDateTime ( System filetime ) : System.DateTime |
Unmarshals a WIN32 FILETIME.
|
|
GetDateTimes ( |
Unmarshals an array of WIN32 FILETIMEs as DateTimes.
|
|
GetErrorCode ( |
Gets the error code for the exception. This method ignores the exception but makes it possible to keep track of ignored exceptions. |
|
GetErrorText ( |
Returns the symbolic name for the specified error.
|
|
GetFILETIME ( System.DateTime datetime ) : System.Runtime.InteropServices.ComTypes.FILETIME |
Marshals a DateTime as a WIN32 FILETIME.
|
|
GetFILETIMEs ( System.DateTime datetimes ) : |
Marshals an array of DateTimes into an unmanaged array of FILETIMEs
|
|
GetFILETIMEs ( |
Unmarshals an array of FILETIMEs
|
|
GetGUIDs ( |
Unmarshals an array of WIN32 GUIDs as Guid.
|
|
GetHdaAggregateId ( uint aggregateId ) : NodeId |
Converts a HDA Aggregate ID to a UA aggregate ID
|
|
GetHdaAggregateId ( NodeId nodeId ) : uint |
Converts a UA Aggregate ID to a HDA aggregate ID
|
|
GetHdaQualityCode ( uint quality ) : StatusCode |
Converts a HDA quality code to a StatusCode.
|
|
GetHdaQualityCode ( StatusCode input ) : uint |
Converts a UA status code to a HDA quality code.
|
|
GetInt16s ( short input ) : |
Allocates and marshals an array of 16 bit integers.
|
|
GetInt16s ( |
Unmarshals and frees a array of 16 bit integers.
|
|
GetInt32s ( int input ) : |
Allocates and marshals an array of 32 bit integers.
|
|
GetInt32s ( |
Unmarshals and frees an array of 32 bit integers.
|
|
GetLocale ( string input ) : int |
Converts a Locale string to a LCID.
|
|
GetLocale ( int input ) : string |
Converts a LCID to a Locale string.
|
|
GetPrincipalFromUserIdentity ( |
Returns the WindowsIdentity associated with a UserIdentity.
|
|
GetQualityCode ( short quality ) : StatusCode |
Converts a DA quality code to a status code.
|
|
GetQualityCode ( StatusCode input ) : short |
Converts a UA status code to a DA quality code.
|
|
GetStatusCodes ( |
Unmarshals and frees an array of HRESULTs.
|
|
GetSystemMessage ( int error, int localeId ) : string |
Retrieves the system message text for the specified error.
|
|
GetSystemType ( short input ) : |
Converts the VARTYPE to a SystemType
|
|
GetUInt32s ( |
Unmarshals and frees an array of 32 bit integers.
|
|
GetUnicodeStrings ( string values ) : |
Marshals an array of strings into a unmanaged memory buffer
|
|
GetUnicodeStrings ( |
Unmarshals and frees a array of unicode strings.
|
|
GetVARIANT ( Variant source ) : object |
Converts an object into a value that can be marshalled to a VARIANT.
|
|
GetVARIANT ( object source ) : object |
Converts an object into a value that can be marshalled to a VARIANT.
|
|
GetVARIANT ( object source, |
Converts an object into a value that can be marshalled to a VARIANT.
|
|
GetVARIANTs ( object values, bool preprocess ) : |
Marshals an array objects into an unmanaged array of VARIANTs.
|
|
GetVARIANTs ( |
Unmarshals an array of VARIANTs as objects.
|
|
GetValueRank ( short input ) : int |
Converts the VARTYPE to a UA ValueRank.
|
|
GetVarType ( System type ) : VarEnum |
Converts the system type to a VARTYPE.
|
|
GetVarType ( |
Converts the TypeInfo to a VARTYPE.
|
|
GetVarType ( object input ) : VarEnum |
Returns the VARTYPE for the value.
|
|
InitializeSecurity ( ) : void |
Initializes COM security.
|
|
IsRpcError ( |
Checks if the error is an RPC error.
|
|
IsUnknownError ( |
Checks if the error for the exception is one of the recognized errors.
|
|
IsValidComType ( object input ) : bool |
Returns true is the object is a valid COM type.
|
|
Match ( string target, string pattern, bool caseSensitive ) : bool |
Tests if the specified string matches the specified pattern.
|
|
ProcessComValue ( object value ) : object |
Converts a COM value to something that UA clients can deal with.
|
|
ReleaseServer ( object server ) : void |
Releases the server if it is a true COM server.
|
|
SetProxySecurity ( object server, |
Sets the security settings for the proxy.
|
|
SetProxySecurity ( object server, |
Sets the security settings for the proxy.
|
|
TraceComError ( |
Reports an unexpected exception during a COM operation.
|
Метод | Описание | |
---|---|---|
CloseHandle ( |
||
CoCreateInstanceEx ( System.Guid &clsid, [ punkOuter, uint dwClsCtx, [ pServerInfo, uint dwCount, [ pResults ) : void | ||
CoGetClassObject ( [ clsid, uint dwClsContext, [ pServerInfo, [ riid, [ ppv ) : void | ||
CoInitializeSecurity ( |
||
CoQueryProxyBlanket ( [ pProxy, uint &pAuthnSvc, uint &pAuthzSvc, [ pServerPrincName, uint &pAuthnLevel, uint &pImpLevel, |
||
CoSetProxyBlanket ( [ pProxy, uint pAuthnSvc, uint pAuthzSvc, |
||
ConvertCase ( char c, bool caseSensitive ) : char | ||
DuplicateToken ( |
||
FormatMessageW ( int dwFlags, |
||
GetSystemDefaultLangID ( ) : int | ||
GetUserDefaultLangID ( ) : int | ||
IsLocalHost ( string hostName ) : bool |
Determines if the host is the local host.
|
|
LogonUser ( string lpszUsername, string lpszDomain, string lpszPassword, int dwLogonType, int dwLogonProvider, |
||
NetApiBufferFree ( |
||
NetServerEnum ( |
||
VariantChangeTypeEx ( |
||
VariantClear ( |
||
VariantInit ( |
||
VariantToObjectArray ( |
Converts a Variant array to an Object array.
|
public static ChangeTypeForCOM ( object source, VarEnum sourceType, VarEnum targetType, object &target ) : int | ||
source | object | |
sourceType | VarEnum | |
targetType | VarEnum | |
target | object | |
Результат | int |
public static ChangeTypeForCOM ( object source, VarEnum targetType, object &target ) : int | ||
source | object | |
targetType | VarEnum | |
target | object | |
Результат | int |
public static CompareLocales ( int localeId, string locale, bool ignoreRegion ) : bool | ||
localeId | int | |
locale | string | |
ignoreRegion | bool | |
Результат | bool |
public static CreateComException ( |
||
e | ||
Результат |
public static CreateComException ( |
||
e | ||
errorId | int | |
Результат |
public static CreateComException ( int errorId ) : |
||
errorId | int | |
Результат |
public static CreateComException ( string message, int errorId ) : |
||
message | string | |
errorId | int | |
Результат |
public static CreateException ( |
||
e | ||
function | string | |
Результат |
public static CreateInstance ( System.Guid clsid, string hostName, |
||
clsid | System.Guid | |
hostName | string | |
identity | ||
Результат | object |
public static CreateInstance1 ( System.Guid clsid, string hostName, |
||
clsid | System.Guid | |
hostName | string | |
identity | ||
Результат | object |
public static CreateInstance2 ( System.Guid clsid, string hostName, |
||
clsid | System.Guid | |
hostName | string | |
identity | ||
Результат | object |
public static CreateInstanceWithLicenseKey ( System.Guid clsid, string hostName, |
||
clsid | System.Guid | |
hostName | string | |
identity | ||
licenseKey | string | |
Результат | object |
public static EnumComputers ( ) : string[] | ||
Результат | string[] |
public static GetAccessRights ( byte accessLevel ) : int | ||
accessLevel | byte | |
Результат | int |
public static GetDataTypeId ( short input ) : NodeId | ||
input | short | |
Результат | NodeId |
public static GetDataTypeId ( short input, bool &isArray ) : NodeId | ||
input | short | |
isArray | bool | |
Результат | NodeId |
public static GetDateTime ( |
||
pFiletime | A pointer to a FILETIME structure. | |
Результат | System.DateTime |
public static GetDateTime ( System filetime ) : System.DateTime | ||
filetime | System | |
Результат | System.DateTime |
public static GetDateTimes ( |
||
pArray | ||
size | int | |
deallocate | bool | |
Результат | System.DateTime[] |
public static GetErrorCode ( |
||
e | The exception. | |
defaultCode | int | The default code. |
Результат | int |
public static GetErrorText ( |
||
type | ||
error | int | |
Результат | string |
public static GetFILETIME ( System.DateTime datetime ) : System.Runtime.InteropServices.ComTypes.FILETIME | ||
datetime | System.DateTime | The DateTime object to marshal |
Результат | System.Runtime.InteropServices.ComTypes.FILETIME |
public static GetFILETIMEs ( System.DateTime datetimes ) : |
||
datetimes | System.DateTime | The array of DateTimes to marshal |
Результат |
public static GetFILETIMEs ( |
||
pArray | ||
size | int | |
Результат | System.Runtime.InteropServices.ComTypes.FILETIME[] |
public static GetGUIDs ( |
||
pInput | ||
size | int | |
deallocate | bool | |
Результат | System.Guid[] |
public static GetHdaAggregateId ( uint aggregateId ) : NodeId | ||
aggregateId | uint | The aggregate id. |
Результат | NodeId |
public static GetHdaAggregateId ( NodeId nodeId ) : uint | ||
nodeId | NodeId | The node id. |
Результат | uint |
public static GetHdaQualityCode ( uint quality ) : StatusCode | ||
quality | uint | |
Результат | StatusCode |
public static GetHdaQualityCode ( StatusCode input ) : uint | ||
input | StatusCode | |
Результат | uint |
public static GetInt16s ( short input ) : |
||
input | short | |
Результат |
public static GetInt16s ( |
||
pArray | ||
size | int | |
deallocate | bool | |
Результат | short[] |
public static GetInt32s ( int input ) : |
||
input | int | |
Результат |
public static GetInt32s ( |
||
pArray | ||
size | int | |
deallocate | bool | |
Результат | int[] |
public static GetLocale ( string input ) : int | ||
input | string | |
Результат | int |
public static GetLocale ( int input ) : string | ||
input | int | |
Результат | string |
public static GetPrincipalFromUserIdentity ( |
||
user | ||
Результат |
public static GetQualityCode ( short quality ) : StatusCode | ||
quality | short | |
Результат | StatusCode |
public static GetQualityCode ( StatusCode input ) : short | ||
input | StatusCode | |
Результат | short |
public static GetStatusCodes ( |
||
pArray | ||
size | int | |
deallocate | bool | |
Результат | int[] |
public static GetSystemMessage ( int error, int localeId ) : string | ||
error | int | |
localeId | int | |
Результат | string |
public static GetSystemType ( short input ) : |
||
input | short | |
Результат |
public static GetUInt32s ( |
||
pArray | ||
size | int | |
deallocate | bool | |
Результат | int[] |
public static GetUnicodeStrings ( string values ) : |
||
values | string | The array of strings to marshal |
Результат |
public static GetUnicodeStrings ( |
||
pArray | ||
size | int | |
deallocate | bool | |
Результат | string[] |
public static GetVARIANT ( Variant source ) : object | ||
source | Variant | The object to convert. |
Результат | object |
public static GetVARIANT ( object source ) : object | ||
source | object | The object to convert. |
Результат | object |
public static GetVARIANT ( object source, |
||
source | object | The object to convert. |
typeInfo | The type info. | |
Результат | object |
public static GetVARIANTs ( object values, bool preprocess ) : |
||
values | object | An array of the objects to be marshalled |
preprocess | bool | Whether the objects should have troublesome types removed before marhalling. |
Результат |
public static GetVARIANTs ( |
||
pArray | ||
size | int | |
deallocate | bool | |
Результат | object[] |
public static GetValueRank ( short input ) : int | ||
input | short | |
Результат | int |
public static GetVarType ( System type ) : VarEnum | ||
type | System | |
Результат | VarEnum |
public static GetVarType ( |
||
typeInfo | ||
Результат | VarEnum |
public static GetVarType ( object input ) : VarEnum | ||
input | object | |
Результат | VarEnum |
public static InitializeSecurity ( ) : void | ||
Результат | void |
public static IsRpcError ( |
||
e | ||
Результат | bool |
public static IsUnknownError ( |
||
e | ||
Результат | bool |
public static IsValidComType ( object input ) : bool | ||
input | object | |
Результат | bool |
public static Match ( string target, string pattern, bool caseSensitive ) : bool | ||
target | string | |
pattern | string | |
caseSensitive | bool | |
Результат | bool |
public static ProcessComValue ( object value ) : object | ||
value | object | |
Результат | object |
public static ReleaseServer ( object server ) : void | ||
server | object | |
Результат | void |
public static SetProxySecurity ( object server, |
||
server | object | |
pAuthInfo | ||
Результат | void |
public static SetProxySecurity ( object server, |
||
server | object | |
user | ||
Результат | void |
public static TraceComError ( |
||
e | ||
format | string | |
Результат | void |