@jaricardodev/ews-javascript-api
Version:
EWS Managed api in JavaScript
502 lines (501 loc) • 422 kB
TypeScript
declare module Microsoft.Win32.SafeHandles {
export class SafeHandleZeroOrMinusOneIsInvalid extends System.Runtime.InteropServices.SafeHandle {
IsInvalid: boolean;
}
export class SafeWaitHandle extends Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid {
ReleaseHandle(): boolean; //{ throw new Error("Not implemented.");}
}
}
declare module System {
export class Array {
Length: number;
LongLength: number;
Rank: number;
private System.Collections.ICollection.Count: number;
SyncRoot: any;
IsReadOnly: boolean;
IsFixedSize: boolean;
IsSynchronized: boolean;
private System.Collections.IList.Item: any;
AsReadOnly(array: any): any; //{ throw new Error("Not implemented.");}
BinarySearch(array: any, index: number, length: number, value: any): number; //{ throw new Error("Not implemented.");}
BinarySearch(array: any, value: any): number; //{ throw new Error("Not implemented.");}
BinarySearch(array: any, value: any, comparer: any): number; //{ throw new Error("Not implemented.");}
BinarySearch(array: any, index: number, length: number, value: any, comparer: any): number; //{ throw new Error("Not implemented.");}
BinarySearch(array: System.Array, value: any): number; //{ throw new Error("Not implemented.");}
BinarySearch(array: System.Array, index: number, length: number, value: any): number; //{ throw new Error("Not implemented.");}
BinarySearch(array: System.Array, value: any, comparer: System.Collections.IComparer): number; //{ throw new Error("Not implemented.");}
BinarySearch(array: System.Array, index: number, length: number, value: any, comparer: System.Collections.IComparer): number; //{ throw new Error("Not implemented.");}
Clear(array: System.Array, index: number, length: number): any; //{ throw new Error("Not implemented.");}
Clone(): any; //{ throw new Error("Not implemented.");}
CombineHashCodes(h1: number, h2: number): number; //{ throw new Error("Not implemented.");}
ConstrainedCopy(sourceArray: System.Array, sourceIndex: number, destinationArray: System.Array, destinationIndex: number, length: number): any; //{ throw new Error("Not implemented.");}
ConvertAll(array: any, converter: any): any; //{ throw new Error("Not implemented.");}
Copy(sourceArray: System.Array, destinationArray: System.Array, length: number): any; //{ throw new Error("Not implemented.");}
Copy(sourceArray: System.Array, sourceIndex: number, destinationArray: System.Array, destinationIndex: number, length: number): any; //{ throw new Error("Not implemented.");}
Copy(sourceArray: System.Array, sourceIndex: number, destinationArray: System.Array, destinationIndex: number, length: number, reliable: boolean): any; //{ throw new Error("Not implemented.");}
Copy(sourceArray: System.Array, destinationArray: System.Array, length: number): any; //{ throw new Error("Not implemented.");}
Copy(sourceArray: System.Array, sourceIndex: number, destinationArray: System.Array, destinationIndex: number, length: number): any; //{ throw new Error("Not implemented.");}
CopyTo(array: System.Array, index: number): any; //{ throw new Error("Not implemented.");}
CopyTo(array: System.Array, index: number): any; //{ throw new Error("Not implemented.");}
CreateInstance(elementType: System.Type, length: number): System.Array; //{ throw new Error("Not implemented.");}
CreateInstance(elementType: System.Type, lengths: System.Int32[], lowerBounds: System.Int32[]): System.Array; //{ throw new Error("Not implemented.");}
CreateInstance(elementType: System.Type, lengths: any): System.Array; //{ throw new Error("Not implemented.");}
CreateInstance(elementType: System.Type, length1: number, length2: number, length3: number): System.Array; //{ throw new Error("Not implemented.");}
CreateInstance(elementType: System.Type, lengths: System.Int32[]): System.Array; //{ throw new Error("Not implemented.");}
CreateInstance(elementType: System.Type, length1: number, length2: number): System.Array; //{ throw new Error("Not implemented.");}
Exists(array: any, match: any): boolean; //{ throw new Error("Not implemented.");}
Find(array: any, match: any): any; //{ throw new Error("Not implemented.");}
FindAll(array: any, match: any): any; //{ throw new Error("Not implemented.");}
FindIndex(array: any, startIndex: number, count: number, match: any): number; //{ throw new Error("Not implemented.");}
FindIndex(array: any, match: any): number; //{ throw new Error("Not implemented.");}
FindIndex(array: any, startIndex: number, match: any): number; //{ throw new Error("Not implemented.");}
FindLast(array: any, match: any): any; //{ throw new Error("Not implemented.");}
FindLastIndex(array: any, startIndex: number, count: number, match: any): number; //{ throw new Error("Not implemented.");}
FindLastIndex(array: any, startIndex: number, match: any): number; //{ throw new Error("Not implemented.");}
FindLastIndex(array: any, match: any): number; //{ throw new Error("Not implemented.");}
ForEach(array: any, action: any): any; //{ throw new Error("Not implemented.");}
GetDataPtrOffsetInternal(): number; //{ throw new Error("Not implemented.");}
GetEnumerator(): any; //{ throw new Error("Not implemented.");}
GetLength(dimension: number): number; //{ throw new Error("Not implemented.");}
GetLongLength(dimension: number): number; //{ throw new Error("Not implemented.");}
GetLowerBound(dimension: number): number; //{ throw new Error("Not implemented.");}
GetMedian(low: number, hi: number): number; //{ throw new Error("Not implemented.");}
GetUpperBound(dimension: number): number; //{ throw new Error("Not implemented.");}
GetValue(indices: System.Int32[]): any; //{ throw new Error("Not implemented.");}
GetValue(index: number): any; //{ throw new Error("Not implemented.");}
GetValue(index1: number, index2: number): any; //{ throw new Error("Not implemented.");}
GetValue(index: number): any; //{ throw new Error("Not implemented.");}
GetValue(index1: number, index2: number, index3: number): any; //{ throw new Error("Not implemented.");}
GetValue(index1: number, index2: number, index3: number): any; //{ throw new Error("Not implemented.");}
GetValue(indices: any): any; //{ throw new Error("Not implemented.");}
GetValue(index1: number, index2: number): any; //{ throw new Error("Not implemented.");}
IndexOf(array: System.Array, value: any, startIndex: number, count: number): number; //{ throw new Error("Not implemented.");}
IndexOf(array: System.Array, value: any, startIndex: number): number; //{ throw new Error("Not implemented.");}
IndexOf(array: any, value: any): number; //{ throw new Error("Not implemented.");}
IndexOf(array: any, value: any, startIndex: number): number; //{ throw new Error("Not implemented.");}
IndexOf(array: any, value: any, startIndex: number, count: number): number; //{ throw new Error("Not implemented.");}
IndexOf(array: System.Array, value: any): number; //{ throw new Error("Not implemented.");}
Initialize(): any; //{ throw new Error("Not implemented.");}
InternalCreate(elementType: any, rank: number, pLengths: any, pLowerBounds: any): System.Array; //{ throw new Error("Not implemented.");}
InternalGetReference(elemRef: any, rank: number, pIndices: any): any; //{ throw new Error("Not implemented.");}
InternalSetValue(target: any, value: any): any; //{ throw new Error("Not implemented.");}
LastIndexOf(array: any, value: any, startIndex: number, count: number): number; //{ throw new Error("Not implemented.");}
LastIndexOf(array: any, value: any): number; //{ throw new Error("Not implemented.");}
LastIndexOf(array: System.Array, value: any, startIndex: number, count: number): number; //{ throw new Error("Not implemented.");}
LastIndexOf(array: System.Array, value: any, startIndex: number): number; //{ throw new Error("Not implemented.");}
LastIndexOf(array: System.Array, value: any): number; //{ throw new Error("Not implemented.");}
LastIndexOf(array: any, value: any, startIndex: number): number; //{ throw new Error("Not implemented.");}
Resize(array: any, newSize: number): any; //{ throw new Error("Not implemented.");}
Reverse(array: System.Array, index: number, length: number): any; //{ throw new Error("Not implemented.");}
Reverse(array: System.Array): any; //{ throw new Error("Not implemented.");}
SetValue(value: any, indices: any): any; //{ throw new Error("Not implemented.");}
SetValue(value: any, index: number): any; //{ throw new Error("Not implemented.");}
SetValue(value: any, index1: number, index2: number): any; //{ throw new Error("Not implemented.");}
SetValue(value: any, index1: number, index2: number, index3: number): any; //{ throw new Error("Not implemented.");}
SetValue(value: any, indices: System.Int32[]): any; //{ throw new Error("Not implemented.");}
SetValue(value: any, index: number): any; //{ throw new Error("Not implemented.");}
SetValue(value: any, index1: number, index2: number): any; //{ throw new Error("Not implemented.");}
SetValue(value: any, index1: number, index2: number, index3: number): any; //{ throw new Error("Not implemented.");}
Sort(keys: System.Array, items: System.Array): any; //{ throw new Error("Not implemented.");}
Sort(array: System.Array): any; //{ throw new Error("Not implemented.");}
Sort(keys: any, items: any, index: number, length: number): any; //{ throw new Error("Not implemented.");}
Sort(array: System.Array, comparer: System.Collections.IComparer): any; //{ throw new Error("Not implemented.");}
Sort(keys: System.Array, items: System.Array, comparer: System.Collections.IComparer): any; //{ throw new Error("Not implemented.");}
Sort(array: System.Array, index: number, length: number, comparer: System.Collections.IComparer): any; //{ throw new Error("Not implemented.");}
Sort(keys: System.Array, items: System.Array, index: number, length: number, comparer: System.Collections.IComparer): any; //{ throw new Error("Not implemented.");}
Sort(array: any, index: number, length: number): any; //{ throw new Error("Not implemented.");}
Sort(array: System.Array, index: number, length: number): any; //{ throw new Error("Not implemented.");}
Sort(keys: System.Array, items: System.Array, index: number, length: number): any; //{ throw new Error("Not implemented.");}
Sort(array: any, index: number, length: number, comparer: any): any; //{ throw new Error("Not implemented.");}
Sort(keys: any, items: any, comparer: any): any; //{ throw new Error("Not implemented.");}
Sort(array: any): any; //{ throw new Error("Not implemented.");}
Sort(keys: any, items: any, index: number, length: number, comparer: any): any; //{ throw new Error("Not implemented.");}
Sort(array: any, comparison: any): any; //{ throw new Error("Not implemented.");}
Sort(array: any, comparer: any): any; //{ throw new Error("Not implemented.");}
Sort(keys: any, items: any): any; //{ throw new Error("Not implemented.");}
TrueForAll(array: any, match: any): boolean; //{ throw new Error("Not implemented.");}
TrySZBinarySearch(sourceArray: System.Array, sourceIndex: number, count: number, value: any, retVal: any): boolean; //{ throw new Error("Not implemented.");}
TrySZIndexOf(sourceArray: System.Array, sourceIndex: number, count: number, value: any, retVal: any): boolean; //{ throw new Error("Not implemented.");}
TrySZLastIndexOf(sourceArray: System.Array, sourceIndex: number, count: number, value: any, retVal: any): boolean; //{ throw new Error("Not implemented.");}
TrySZReverse(array: System.Array, index: number, count: number): boolean; //{ throw new Error("Not implemented.");}
TrySZSort(keys: System.Array, items: System.Array, left: number, right: number): boolean; //{ throw new Error("Not implemented.");}
UnsafeCreateInstance(elementType: System.Type, length1: number, length2: number): System.Array; //{ throw new Error("Not implemented.");}
UnsafeCreateInstance(elementType: System.Type, lengths: System.Int32[]): System.Array; //{ throw new Error("Not implemented.");}
UnsafeCreateInstance(elementType: System.Type, length: number): System.Array; //{ throw new Error("Not implemented.");}
UnsafeCreateInstance(elementType: System.Type, lengths: System.Int32[], lowerBounds: System.Int32[]): System.Array; //{ throw new Error("Not implemented.");}
}
export class AsyncCallback extends System.MulticastDelegate {
BeginInvoke(ar: System.IAsyncResult, callback: System.AsyncCallback, object: any): System.IAsyncResult; //{ throw new Error("Not implemented.");}
EndInvoke(result: System.IAsyncResult): any; //{ throw new Error("Not implemented.");}
Invoke(ar: System.IAsyncResult): any; //{ throw new Error("Not implemented.");}
}
export class Attribute {
TypeId: any;
AddAttributesToList(attributeList: System.Collections.Generic.List<T>, attributes: any, types: System.Collections.Generic.Dictionary<TKey, TValue>): any; //{ throw new Error("Not implemented.");}
AreFieldValuesEqual(thisValue: any, thatValue: any): boolean; //{ throw new Error("Not implemented.");}
CopyToArrayList(attributeList: System.Collections.Generic.List<T>, attributes: any, types: System.Collections.Generic.Dictionary<TKey, TValue>): any; //{ throw new Error("Not implemented.");}
CreateAttributeArrayHelper(elementType: System.Type, elementCount: number): any; //{ throw new Error("Not implemented.");}
Equals(obj: any): boolean; //{ throw new Error("Not implemented.");}
GetCustomAttribute(element: System.Reflection.Assembly, attributeType: System.Type, inherit: boolean): System.Attribute; //{ throw new Error("Not implemented.");}
GetCustomAttribute(element: System.Reflection.Assembly, attributeType: System.Type): System.Attribute; //{ throw new Error("Not implemented.");}
GetCustomAttribute(element: System.Reflection.MemberInfo, attributeType: System.Type): System.Attribute; //{ throw new Error("Not implemented.");}
GetCustomAttribute(element: System.Reflection.MemberInfo, attributeType: System.Type, inherit: boolean): System.Attribute; //{ throw new Error("Not implemented.");}
GetCustomAttribute(element: System.Reflection.ParameterInfo, attributeType: System.Type, inherit: boolean): System.Attribute; //{ throw new Error("Not implemented.");}
GetCustomAttribute(element: System.Reflection.ParameterInfo, attributeType: System.Type): System.Attribute; //{ throw new Error("Not implemented.");}
GetCustomAttribute(element: System.Reflection.Module, attributeType: System.Type): System.Attribute; //{ throw new Error("Not implemented.");}
GetCustomAttribute(element: System.Reflection.Module, attributeType: System.Type, inherit: boolean): System.Attribute; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.Assembly, inherit: boolean): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.Assembly, attributeType: System.Type, inherit: boolean): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.Module, attributeType: System.Type, inherit: boolean): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.Assembly, attributeType: System.Type): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.Module, inherit: boolean): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.Assembly): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.Module, attributeType: System.Type): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.MemberInfo, type: System.Type, inherit: boolean): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.MemberInfo): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.Module): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.MemberInfo, inherit: boolean): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.ParameterInfo): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.ParameterInfo, attributeType: System.Type): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.MemberInfo, type: System.Type): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.ParameterInfo, inherit: boolean): any; //{ throw new Error("Not implemented.");}
GetCustomAttributes(element: System.Reflection.ParameterInfo, attributeType: System.Type, inherit: boolean): any; //{ throw new Error("Not implemented.");}
GetHashCode(): number; //{ throw new Error("Not implemented.");}
GetParentDefinition(param: System.Reflection.ParameterInfo): System.Reflection.ParameterInfo; //{ throw new Error("Not implemented.");}
GetParentDefinition(ev: System.Reflection.EventInfo): System.Reflection.EventInfo; //{ throw new Error("Not implemented.");}
GetParentDefinition(property: System.Reflection.PropertyInfo): System.Reflection.PropertyInfo; //{ throw new Error("Not implemented.");}
InternalGetAttributeUsage(type: System.Type): any; //{ throw new Error("Not implemented.");}
InternalGetCustomAttributes(element: System.Reflection.EventInfo, type: System.Type, inherit: boolean): any; //{ throw new Error("Not implemented.");}
InternalGetCustomAttributes(element: System.Reflection.PropertyInfo, type: System.Type, inherit: boolean): any; //{ throw new Error("Not implemented.");}
InternalIsDefined(element: System.Reflection.PropertyInfo, attributeType: System.Type, inherit: boolean): boolean; //{ throw new Error("Not implemented.");}
InternalIsDefined(element: System.Reflection.EventInfo, attributeType: System.Type, inherit: boolean): boolean; //{ throw new Error("Not implemented.");}
InternalParamGetCustomAttributes(param: System.Reflection.ParameterInfo, type: System.Type, inherit: boolean): any; //{ throw new Error("Not implemented.");}
InternalParamIsDefined(param: System.Reflection.ParameterInfo, type: System.Type, inherit: boolean): boolean; //{ throw new Error("Not implemented.");}
IsDefaultAttribute(): boolean; //{ throw new Error("Not implemented.");}
IsDefined(element: System.Reflection.ParameterInfo, attributeType: System.Type, inherit: boolean): boolean; //{ throw new Error("Not implemented.");}
IsDefined(element: System.Reflection.Assembly, attributeType: System.Type): boolean; //{ throw new Error("Not implemented.");}
IsDefined(element: System.Reflection.Module, attributeType: System.Type): boolean; //{ throw new Error("Not implemented.");}
IsDefined(element: System.Reflection.Module, attributeType: System.Type, inherit: boolean): boolean; //{ throw new Error("Not implemented.");}
IsDefined(element: System.Reflection.Assembly, attributeType: System.Type, inherit: boolean): boolean; //{ throw new Error("Not implemented.");}
IsDefined(element: System.Reflection.MemberInfo, attributeType: System.Type, inherit: boolean): boolean; //{ throw new Error("Not implemented.");}
IsDefined(element: System.Reflection.ParameterInfo, attributeType: System.Type): boolean; //{ throw new Error("Not implemented.");}
IsDefined(element: System.Reflection.MemberInfo, attributeType: System.Type): boolean; //{ throw new Error("Not implemented.");}
Match(obj: any): boolean; //{ throw new Error("Not implemented.");}
}
export class Delegate {
Method: System.Reflection.MethodInfo;
Target: any;
_target: any;
_methodBase: any;
_methodPtr: number;
_methodPtrAux: number;
AdjustTarget(target: any, methodPtr: number): number; //{ throw new Error("Not implemented.");}
BindToMethodInfo(target: any, method: any, methodType: any, flags: System.DelegateBindingFlags): boolean; //{ throw new Error("Not implemented.");}
BindToMethodName(target: any, methodType: any, method: string, flags: System.DelegateBindingFlags): boolean; //{ throw new Error("Not implemented.");}
Clone(): any; //{ throw new Error("Not implemented.");}
Combine(a: System.Delegate, b: System.Delegate): System.Delegate; //{ throw new Error("Not implemented.");}
Combine(delegates: any): System.Delegate; //{ throw new Error("Not implemented.");}
CombineImpl(d: System.Delegate): System.Delegate; //{ throw new Error("Not implemented.");}
CompareUnmanagedFunctionPtrs(d1: System.Delegate, d2: System.Delegate): boolean; //{ throw new Error("Not implemented.");}
CreateDelegate(type: System.Type, target: System.Type, method: string, ignoreCase: boolean, throwOnBindFailure: boolean): System.Delegate; //{ throw new Error("Not implemented.");}
CreateDelegate(type: System.Type, target: System.Type, method: string, ignoreCase: boolean): System.Delegate; //{ throw new Error("Not implemented.");}
CreateDelegate(type: System.Type, target: System.Type, method: string): System.Delegate; //{ throw new Error("Not implemented.");}
CreateDelegate(type: System.Type, target: any, method: string, ignoreCase: boolean, throwOnBindFailure: boolean): System.Delegate; //{ throw new Error("Not implemented.");}
CreateDelegate(type: System.Type, target: any, method: string, ignoreCase: boolean): System.Delegate; //{ throw new Error("Not implemented.");}
CreateDelegate(type: System.Type, firstArgument: any, method: System.Reflection.MethodInfo): System.Delegate; //{ throw new Error("Not implemented.");}
CreateDelegate(type: System.Type, method: System.Reflection.MethodInfo, throwOnBindFailure: boolean): System.Delegate; //{ throw new Error("Not implemented.");}
CreateDelegate(type: System.Type, method: System.Reflection.MethodInfo): System.Delegate; //{ throw new Error("Not implemented.");}
CreateDelegate(type: System.Type, target: any, method: string): System.Delegate; //{ throw new Error("Not implemented.");}
CreateDelegate(type: System.Type, firstArgument: any, method: System.Reflection.MethodInfo, throwOnBindFailure: boolean): System.Delegate; //{ throw new Error("Not implemented.");}
CreateDelegateInternal(rtType: any, rtMethod: any, firstArgument: any, flags: System.DelegateBindingFlags, stackMark: any): System.Delegate; //{ throw new Error("Not implemented.");}
CreateDelegateNoSecurityCheck(type: System.Type, target: any, method: System.RuntimeMethodHandle): System.Delegate; //{ throw new Error("Not implemented.");}
CreateDelegateNoSecurityCheck(type: any, firstArgument: any, method: System.Reflection.MethodInfo): System.Delegate; //{ throw new Error("Not implemented.");}
DelegateConstruct(target: any, slot: number): any; //{ throw new Error("Not implemented.");}
DynamicInvoke(args: any): any; //{ throw new Error("Not implemented.");}
DynamicInvokeImpl(args: any): any; //{ throw new Error("Not implemented.");}
Equals(obj: any): boolean; //{ throw new Error("Not implemented.");}
FindMethodHandle(): any; //{ throw new Error("Not implemented.");}
GetCallStub(methodPtr: number): number; //{ throw new Error("Not implemented.");}
GetHashCode(): number; //{ throw new Error("Not implemented.");}
GetInvocationList(): any; //{ throw new Error("Not implemented.");}
GetInvokeMethod(): number; //{ throw new Error("Not implemented.");}
GetMethodImpl(): System.Reflection.MethodInfo; //{ throw new Error("Not implemented.");}
GetMulticastInvoke(): number; //{ throw new Error("Not implemented.");}
GetObjectData(info: any, context: any): any; //{ throw new Error("Not implemented.");}
GetTarget(): any; //{ throw new Error("Not implemented.");}
InternalAlloc(type: any): System.MulticastDelegate; //{ throw new Error("Not implemented.");}
InternalAllocLike(d: System.Delegate): System.MulticastDelegate; //{ throw new Error("Not implemented.");}
InternalEqualMethodHandles(left: System.Delegate, right: System.Delegate): boolean; //{ throw new Error("Not implemented.");}
InternalEqualTypes(a: any, b: any): boolean; //{ throw new Error("Not implemented.");}
Remove(source: System.Delegate, value: System.Delegate): System.Delegate; //{ throw new Error("Not implemented.");}
RemoveAll(source: System.Delegate, value: System.Delegate): System.Delegate; //{ throw new Error("Not implemented.");}
RemoveImpl(d: System.Delegate): System.Delegate; //{ throw new Error("Not implemented.");}
UnsafeCreateDelegate(rtType: any, rtMethod: any, firstArgument: any, flags: System.DelegateBindingFlags): System.Delegate; //{ throw new Error("Not implemented.");}
}
export class EventArgs {
static Empty: System.EventArgs;
}
export class Exception {
Data: System.Collections.IDictionary;
Message: string;
InnerException: System.Exception;
TargetSite: System.Reflection.MethodBase;
StackTrace: string;
HelpLink: string;
Source: string;
IPForWatsonBuckets: number;
WatsonBuckets: any;
RemoteStackTrace: string;
HResult: number;
IsTransient: boolean;
private _className: string;
private _exceptionMethod: System.Reflection.MethodBase;
private _exceptionMethodString: string;
_message: string;
private _data: System.Collections.IDictionary;
private _innerException: System.Exception;
private _helpURL: string;
private _stackTrace: any;
private _watsonBuckets: any;
private _stackTraceString: string;
private _remoteStackTraceString: string;
private _remoteStackIndex: number;
private _dynamicMethods: any;
_HResult: number;
private _source: string;
private _xptrs: number;
private _xcode: number;
private _ipForWatsonBuckets: number;
private _safeSerializationManager: any;
private static s_EDILock: any;
AddExceptionDataForRestrictedErrorInfo(restrictedError: string, restrictedErrorReference: string, restrictedCapabilitySid: string, restrictedErrorObject: any, hasrestrictedLanguageErrorObject?: boolean): any; //{ throw new Error("Not implemented.");}
CopyDynamicMethods(currentDynamicMethods: any): any; //{ throw new Error("Not implemented.");}
CopyStackTrace(currentStackTrace: any): any; //{ throw new Error("Not implemented.");}
DeepCopyDynamicMethods(currentDynamicMethods: any): any; //{ throw new Error("Not implemented.");}
DeepCopyStackTrace(currentStackTrace: any): any; //{ throw new Error("Not implemented.");}
GetBaseException(): System.Exception; //{ throw new Error("Not implemented.");}
GetClassName(): string; //{ throw new Error("Not implemented.");}
GetExceptionMethodFromStackTrace(): System.Reflection.MethodBase; //{ throw new Error("Not implemented.");}
GetExceptionMethodFromString(): System.Reflection.MethodBase; //{ throw new Error("Not implemented.");}
GetExceptionMethodString(): string; //{ throw new Error("Not implemented.");}
GetMessageFromNativeResources(kind: System.Exception.ExceptionMessageKind): string; //{ throw new Error("Not implemented.");}
GetMessageFromNativeResources(kind: System.Exception.ExceptionMessageKind, retMesg: any): any; //{ throw new Error("Not implemented.");}
GetMethodFromStackTrace(stackTrace: any): any; //{ throw new Error("Not implemented.");}
GetObjectData(info: any, context: any): any; //{ throw new Error("Not implemented.");}
GetStackTrace(needFileInfo: boolean): string; //{ throw new Error("Not implemented.");}
GetStackTracesDeepCopy(currentStackTrace: any, dynamicMethodArray: any): any; //{ throw new Error("Not implemented.");}
GetStackTracesDeepCopy(exception: System.Exception, currentStackTrace: any, dynamicMethodArray: any): any; //{ throw new Error("Not implemented.");}
GetTargetSiteInternal(): System.Reflection.MethodBase; //{ throw new Error("Not implemented.");}
GetType(): System.Type; //{ throw new Error("Not implemented.");}
Init(): any; //{ throw new Error("Not implemented.");}
InternalPreserveStackTrace(): any; //{ throw new Error("Not implemented.");}
InternalToString(): string; //{ throw new Error("Not implemented.");}
IsImmutableAgileException(e: System.Exception): boolean; //{ throw new Error("Not implemented.");}
nIsTransient(hr: number): boolean; //{ throw new Error("Not implemented.");}
OnDeserialized(context: any): any; //{ throw new Error("Not implemented.");}
PrepareForForeignExceptionRaise(): any; //{ throw new Error("Not implemented.");}
PrepForRemoting(): System.Exception; //{ throw new Error("Not implemented.");}
RestoreExceptionDispatchInfo(exceptionDispatchInfo: any): any; //{ throw new Error("Not implemented.");}
SaveStackTracesFromDeepCopy(exception: System.Exception, currentStackTrace: any, dynamicMethodArray: any): any; //{ throw new Error("Not implemented.");}
SetErrorCode(hr: number): any; //{ throw new Error("Not implemented.");}
StripFileInfo(stackTrace: string, isRemoteStackTrace: boolean): string; //{ throw new Error("Not implemented.");}
ToString(): string; //{ throw new Error("Not implemented.");}
ToString(needFileLineInfo: boolean, needMessage: boolean): string; //{ throw new Error("Not implemented.");}
TryGetRestrictedLanguageErrorObject(restrictedErrorObject: any): boolean; //{ throw new Error("Not implemented.");}
}
export class Func<T, TResult> extends System.MulticastDelegate {
BeginInvoke(arg: T, callback: System.AsyncCallback, object: any): System.IAsyncResult; //{ throw new Error("Not implemented.");}
EndInvoke(result: System.IAsyncResult): TResult; //{ throw new Error("Not implemented.");}
Invoke(arg: T): TResult; //{ throw new Error("Not implemented.");}
}
export class Guid {
private _a: number;
private _b: number;
private _c: number;
private _d: number;
private _e: number;
private _f: number;
private _g: number;
private _h: number;
private _i: number;
private _j: number;
private _k: number;
static Empty: System.Guid;
CompareTo(value: System.Guid): number; //{ throw new Error("Not implemented.");}
CompareTo(value: any): number; //{ throw new Error("Not implemented.");}
EatAllWhitespace(str: string): string; //{ throw new Error("Not implemented.");}
Equals(o: any): boolean; //{ throw new Error("Not implemented.");}
Equals(g: System.Guid): boolean; //{ throw new Error("Not implemented.");}
GetHashCode(): number; //{ throw new Error("Not implemented.");}
GetResult(me: number, them: number): number; //{ throw new Error("Not implemented.");}
HexsToChars(guidChars: any, offset: number, a: number, b: number, hex: boolean): number; //{ throw new Error("Not implemented.");}
HexsToChars(guidChars: any, offset: number, a: number, b: number): number; //{ throw new Error("Not implemented.");}
HexToChar(a: number): string; //{ throw new Error("Not implemented.");}
IsHexPrefix(str: string, i: number): boolean; //{ throw new Error("Not implemented.");}
NewGuid(): System.Guid; //{ throw new Error("Not implemented.");}
Parse(input: string): System.Guid; //{ throw new Error("Not implemented.");}
ParseExact(input: string, format: string): System.Guid; //{ throw new Error("Not implemented.");}
StringToInt(str: string, parsePos: any, requiredLength: number, flags: number, result: any, parseResult: any): boolean; //{ throw new Error("Not implemented.");}
StringToInt(str: string, requiredLength: number, flags: number, result: any, parseResult: any): boolean; //{ throw new Error("Not implemented.");}
StringToInt(str: string, parsePos: any, requiredLength: number, flags: number, result: any, parseResult: any): boolean; //{ throw new Error("Not implemented.");}
StringToLong(str: string, parsePos: any, flags: number, result: any, parseResult: any): boolean; //{ throw new Error("Not implemented.");}
StringToLong(str: string, parsePos: any, flags: number, result: any, parseResult: any): boolean; //{ throw new Error("Not implemented.");}
StringToLong(str: string, flags: number, result: any, parseResult: any): boolean; //{ throw new Error("Not implemented.");}
StringToShort(str: string, requiredLength: number, flags: number, result: any, parseResult: any): boolean; //{ throw new Error("Not implemented.");}
StringToShort(str: string, parsePos: any, requiredLength: number, flags: number, result: any, parseResult: any): boolean; //{ throw new Error("Not implemented.");}
StringToShort(str: string, parsePos: any, requiredLength: number, flags: number, result: any, parseResult: any): boolean; //{ throw new Error("Not implemented.");}
ToByteArray(): System.Byte[]; //{ throw new Error("Not implemented.");}
ToString(format: string): string; //{ throw new Error("Not implemented.");}
ToString(format: string, provider: System.IFormatProvider): string; //{ throw new Error("Not implemented.");}
ToString(): string; //{ throw new Error("Not implemented.");}
TryParse(input: string, result: any): boolean; //{ throw new Error("Not implemented.");}
TryParseExact(input: string, format: string, result: any): boolean; //{ throw new Error("Not implemented.");}
TryParseGuid(g: string, flags: System.Guid.GuidStyles, result: any): boolean; //{ throw new Error("Not implemented.");}
TryParseGuidWithDashes(guidString: string, result: any): boolean; //{ throw new Error("Not implemented.");}
TryParseGuidWithHexPrefix(guidString: string, result: any): boolean; //{ throw new Error("Not implemented.");}
TryParseGuidWithNoStyle(guidString: string, result: any): boolean; //{ throw new Error("Not implemented.");}
}
interface IAsyncResult {
IsCompleted: boolean;
AsyncWaitHandle: System.Threading.WaitHandle;
AsyncState: any;
CompletedSynchronously: boolean;
}
interface IFormatProvider {
GetFormat(formatType: System.Type): any;
}
export class MarshalByRefObject {
private Identity: any;
private __identity: any;
__RaceSetServerIdentity(id: any): any; //{ throw new Error("Not implemented.");}
__ResetServerIdentity(): any; //{ throw new Error("Not implemented.");}
CanCastToXmlType(xmlTypeName: string, xmlTypeNamespace: string): boolean; //{ throw new Error("Not implemented.");}
CanCastToXmlTypeHelper(castType: any, o: System.MarshalByRefObject): boolean; //{ throw new Error("Not implemented.");}
CreateObjRef(requestedType: System.Type): any; //{ throw new Error("Not implemented.");}
GetComIUnknown(fIsBeingMarshalled: boolean): number; //{ throw new Error("Not implemented.");}
GetComIUnknown(o: System.MarshalByRefObject): number; //{ throw new Error("Not implemented.");}
GetIdentity(obj: System.MarshalByRefObject, fServer: any): any; //{ throw new Error("Not implemented.");}
GetIdentity(obj: System.MarshalByRefObject): any; //{ throw new Error("Not implemented.");}
GetLifetimeService(): any; //{ throw new Error("Not implemented.");}
InitializeLifetimeService(): any; //{ throw new Error("Not implemented.");}
InvokeMember(name: string, invokeAttr: System.Reflection.BindingFlags, binder: System.Reflection.Binder, args: any, modifiers: any, culture: System.Globalization.CultureInfo, namedParameters: System.String[]): any; //{ throw new Error("Not implemented.");}
IsInstanceOfType(T: System.Type): boolean; //{ throw new Error("Not implemented.");}
MemberwiseClone(cloneIdentity: boolean): System.MarshalByRefObject; //{ throw new Error("Not implemented.");}
}
export class ModuleHandle {
MDStreamVersion: number;
private m_ptr: any;
static EmptyHandle: System.ModuleHandle;
_ContainsPropertyMatchingHash(module: any, propertyToken: number, hash: number): boolean; //{ throw new Error("Not implemented.");}
_GetMetadataImport(module: any): number; //{ throw new Error("Not implemented.");}
ContainsPropertyMatchingHash(module: any, propertyToken: number, hash: number): boolean; //{ throw new Error("Not implemented.");}
Equals(obj: any): boolean; //{ throw new Error("Not implemented.");}
Equals(handle: System.ModuleHandle): boolean; //{ throw new Error("Not implemented.");}
GetAssembly(handle: any, retAssembly: any): any; //{ throw new Error("Not implemented.");}
GetAssembly(module: any): any; //{ throw new Error("Not implemented.");}
GetDynamicMethod(method: any, module: any, name: string, sig: System.Byte[], resolver: any): any; //{ throw new Error("Not implemented.");}
GetEmptyMH(): System.ModuleHandle; //{ throw new Error("Not implemented.");}
GetHashCode(): number; //{ throw new Error("Not implemented.");}
GetMDStreamVersion(module: any): number; //{ throw new Error("Not implemented.");}
GetMetadataImport(module: any): any; //{ throw new Error("Not implemented.");}
GetModuleType(module: any): any; //{ throw new Error("Not implemented.");}
GetModuleType(handle: any, type: any): any; //{ throw new Error("Not implemented.");}
GetPEKind(handle: any, peKind: any, machine: any): any; //{ throw new Error("Not implemented.");}
GetPEKind(module: any, peKind: any, machine: any): any; //{ throw new Error("Not implemented.");}
GetRuntimeFieldHandleFromMetadataToken(fieldToken: number): System.RuntimeFieldHandle; //{ throw new Error("Not implemented.");}
GetRuntimeMethodHandleFromMetadataToken(methodToken: number): System.RuntimeMethodHandle; //{ throw new Error("Not implemented.");}
GetRuntimeModule(): any; //{ throw new Error("Not implemented.");}
GetRuntimeTypeHandleFromMetadataToken(typeToken: number): System.RuntimeTypeHandle; //{ throw new Error("Not implemented.");}
GetToken(module: any): number; //{ throw new Error("Not implemented.");}
IsNullHandle(): boolean; //{ throw new Error("Not implemented.");}
ResolveField(module: any, fieldToken: number, typeInstArgs: any, typeInstCount: number, methodInstArgs: any, methodInstCount: number, retField: any): any; //{ throw new Error("Not implemented.");}
ResolveFieldHandle(fieldToken: number, typeInstantiationContext: any, methodInstantiationContext: any): System.RuntimeFieldHandle; //{ throw new Error("Not implemented.");}
ResolveFieldHandle(fieldToken: number): System.RuntimeFieldHandle; //{ throw new Error("Not implemented.");}
ResolveFieldHandleInternal(module: any, fieldToken: number, typeInstantiationContext: any, methodInstantiationContext: any): any; //{ throw new Error("Not implemented.");}
ResolveMethod(module: any, methodToken: number, typeInstArgs: any, typeInstCount: number, methodInstArgs: any, methodInstCount: number): any; //{ throw new Error("Not implemented.");}
ResolveMethodHandle(methodToken: number, typeInstantiationContext: any, methodInstantiationContext: any): System.RuntimeMethodHandle; //{ throw new Error("Not implemented.");}
ResolveMethodHandle(methodToken: number): System.RuntimeMethodHandle; //{ throw new Error("Not implemented.");}
ResolveMethodHandleInternal(module: any, methodToken: number): any; //{ throw new Error("Not implemented.");}
ResolveMethodHandleInternal(module: any, methodToken: number, typeInstantiationContext: any, methodInstantiationContext: any): any; //{ throw new Error("Not implemented.");}
ResolveMethodHandleInternalCore(module: any, methodToken: number, typeInstantiationContext: any, typeInstCount: number, methodInstantiationContext: any, methodInstCount: number): any; //{ throw new Error("Not implemented.");}
ResolveType(module: any, typeToken: number, typeInstArgs: any, typeInstCount: number, methodInstArgs: any, methodInstCount: number, type: any): any; //{ throw new Error("Not implemented.");}
ResolveTypeHandle(typeToken: number, typeInstantiationContext: any, methodInstantiationContext: any): System.RuntimeTypeHandle; //{ throw new Error("Not implemented.");}
ResolveTypeHandle(typeToken: number): System.RuntimeTypeHandle; //{ throw new Error("Not implemented.");}
ResolveTypeHandleInternal(module: any, typeToken: number, typeInstantiationContext: any, methodInstantiationContext: any): any; //{ throw new Error("Not implemented.");}
ValidateModulePointer(module: any): any; //{ throw new Error("Not implemented.");}
}
export class MulticastDelegate extends System.Delegate {
private _invocationList: any;
private _invocationCount: number;
CombineImpl(follow: System.Delegate): System.Delegate; //{ throw new Error("Not implemented.");}
CtorClosed(target: any, methodPtr: number): any; //{ throw new Error("Not implemented.");}
CtorClosedStatic(target: any, methodPtr: number): any; //{ throw new Error("Not implemented.");}
CtorCollectibleClosedStatic(target: any, methodPtr: number, gchandle: number): any; //{ throw new Error("Not implemented.");}
CtorCollectibleOpened(target: any, methodPtr: number, shuffleThunk: number, gchandle: number): any; //{ throw new Error("Not implemented.");}
CtorCollectibleVirtualDispatch(target: any, methodPtr: number, shuffleThunk: number, gchandle: number): any; //{ throw new Error("Not implemented.");}
CtorOpened(target: any, methodPtr: number, shuffleThunk: number): any; //{ throw new Error("Not implemented.");}
CtorRTClosed(target: any, methodPtr: number): any; //{ throw new Error("Not implemented.");}
CtorSecureClosed(target: any, methodPtr: number, callThunk: number, creatorMethod: number): any; //{ throw new Error("Not implemented.");}
CtorSecureClosedStatic(target: any, methodPtr: number, callThunk: number, creatorMethod: number): any; //{ throw new Error("Not implemented.");}
CtorSecureOpened(target: any, methodPtr: number, shuffleThunk: number, callThunk: number, creatorMethod: number): any; //{ throw new Error("Not implemented.");}
CtorSecureRTClosed(target: any, methodPtr: number, callThunk: number, creatorMethod: number): any; //{ throw new Error("Not implemented.");}
CtorSecureVirtualDispatch(target: any, methodPtr: number, shuffleThunk: number, callThunk: number, creatorMethod: number): any; //{ throw new Error("Not implemented.");}
CtorVirtualDispatch(target: any, methodPtr: number, shuffleThunk: number): any; //{ throw new Error("Not implemented.");}
DeleteFromInvocationList(invocationList: any, invocationCount: number, deleteIndex: number, deleteCount: number): any; //{ throw new Error("Not implemented.");}
EqualInvocationLists(a: any, b: any, start: number, count: number): boolean; //{ throw new Error("Not implemented.");}
Equals(obj: any): boolean; //{ throw new Error("Not implemented.");}
GetHashCode(): number; //{ throw new Error("Not implemented.");}
GetInvocationList(): any; //{ throw new Error("Not implemented.");}
GetMethodImpl(): System.Reflection.MethodInfo; //{ throw new Error("Not implemented.");}
GetObjectData(info: any, context: any): any; //{ throw new Error("Not implemented.");}
GetTarget(): any; //{ throw new Error("Not implemented.");}
InvocationListEquals(d: System.MulticastDelegate): boolean; //{ throw new Error("Not implemented.");}
InvocationListLogicallyNull(): boolean; //{ throw new Error("Not implemented.");}
IsUnmanagedFunctionPtr(): boolean; //{ throw new Error("Not implemented.");}
NewMulticastDelegate(invocationList: any, invocationCount: number): System.MulticastDelegate; //{ throw new Error("Not implemented.");}
NewMulticastDelegate(invocationList: any, invocationCount: number, thisIsMultiCastAlready: boolean): System.MulticastDelegate; //{ throw new Error("Not implemented.");}
RemoveImpl(value: System.Delegate): System.Delegate; //{ throw new Error("Not implemented.");}
StoreDynamicMethod(dynamicMethod: System.Reflection.MethodInfo): any; //{ throw new Error("Not implemented.");}
ThrowNullThisInDelegateToInstance(): any; //{ throw new Error("Not implemented.");}
TrySetSlot(a: any, index: number, o: any): boolean; //{ throw new Error("Not implemented.");}
}
export class RuntimeFieldHandle {
Value: number;
private m_ptr: any;
_GetUtf8Name(field: any): any; //{ throw new Error("Not implemented.");}
AcquiresContextFromThis(field: any): boolean; //{ throw new Error("Not implemented.");}
CheckAttributeAccess(fieldHandle: System.RuntimeFieldHandle, decoratedTarget: any): any; //{ throw new Error("Not implemented.");}
Equals(handle: System.RuntimeFieldHandle): boolean; //{ throw new Error("Not implemented.");}
Equals(obj: any): boolean; //{ throw new Error("Not implemented.");}
GetApproxDeclaringType(field: any): any; //{ throw new Error("Not implemented.");}
GetApproxDeclaringType(field: any): any; //{ throw new Error("Not implemented.");}
GetAttributes(field: any): System.Reflection.FieldAttributes; //{ throw new Error("Not implemented.");}
GetHashCode(): number; //{ throw new Error("Not implemented.");}
GetName(field: any): string; //{ throw new Error("Not implemented.");}
GetNativeHandle(): System.RuntimeFieldHandle; //{ throw new Error("Not implemented.");}
GetObjectData(info: any, context: any): any; //{ throw new Error("Not implemented.");}
GetRuntimeFieldInfo(): any; //{ throw new Error("Not implemented.");}
GetStaticFieldForGenericType(field: any, declaringType: any): any; //{ throw new Error("Not implemented.");}
GetToken(field: any): number; //{ throw new Error("Not implemented.");}
GetUtf8Name(field: any): any; //{ throw new Error("Not implemented.");}
GetValue(field: any, instance: any, fieldType: any, declaringType: any, domainInitialized: any): any; //{ throw new Error("Not implemented.");}
GetValueDirect(field: any, fieldType: any, pTypedRef: any, contextType: any): any; //{ throw new Error("Not implemented.");}
IsNullHandle(): boolean; //{ throw new Error("Not implemented.");}
IsSecurityCritical(fieldHandle: System.RuntimeFieldHandle): boolean; //{ throw new Error("Not implemented.");}
IsSecurityCritical(): boolean; //{ throw new Error("Not implemented.");}
IsSecuritySafeCritical(): boolean; //{ throw new Error("Not implemented.");}
IsSecuritySafeCritical(fieldHandle: System.RuntimeFieldHandle): boolean; //{ throw new Error("Not implemented.");}
IsSecurityTransparent(fieldHandle: System.RuntimeFieldHandle): boolean; //{ throw new Error("Not implemented.");}
IsSecurityTransparent(): boolean; //{ throw new Error("Not implemented.");}
MatchesNameHash(handle: any, hash: number): boolean; //{ throw new Error("Not implemented.");}
SetValue(field: any, obj: any, value: any, fieldType: any, fieldAttr: System.Reflection.FieldAttributes, declaringType: any, domainInitialized: any): any; //{ throw new Error("Not implemented.");}
SetValueDirect(field: any, fieldType: any, pTypedRef: any, value: any, contextType: any): any; //{ throw new Error("Not implemented.");}
}
export class RuntimeMethodHandle {
static EmptyHandle: System.RuntimeMethodHandle;
Value: number;
private m_value: any;
_GetCurrentMethod(stackMark: any): any; //{ throw new Error("Not implemented.");}
_GetUtf8Name(method: any): any; //{ throw new Error("Not implemented.");}
_IsSecurityCritical(method: any): boolean; //{ throw new Error("Not implemented.");}