public class Application extends DispatcherObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Application
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationFramework
|
static java.lang.String |
className
Qualified class name: System.Windows.Application
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Application()
Initializes a new instance by invoking the .NET constructor.
|
Application(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addActivated(EventHandler handler)
Invokes the .NET member addActivated.
|
void |
addDeactivated(EventHandler handler)
Invokes the .NET member addDeactivated.
|
void |
addDispatcherUnhandledException(DispatcherUnhandledExceptionEventHandler handler)
Invokes the .NET member addDispatcherUnhandledException.
|
void |
addExit(ExitEventHandler handler)
Invokes the .NET member addExit.
|
void |
addFragmentNavigation(FragmentNavigationEventHandler handler)
Invokes the .NET member addFragmentNavigation.
|
void |
addLoadCompleted(LoadCompletedEventHandler handler)
Invokes the .NET member addLoadCompleted.
|
void |
addNavigated(NavigatedEventHandler handler)
Invokes the .NET member addNavigated.
|
void |
addNavigating(NavigatingCancelEventHandler handler)
Invokes the .NET member addNavigating.
|
void |
addNavigationFailed(NavigationFailedEventHandler handler)
Invokes the .NET member addNavigationFailed.
|
void |
addNavigationProgress(NavigationProgressEventHandler handler)
Invokes the .NET member addNavigationProgress.
|
void |
addNavigationStopped(NavigationStoppedEventHandler handler)
Invokes the .NET member addNavigationStopped.
|
void |
addSessionEnding(SessionEndingCancelEventHandler handler)
Invokes the .NET member addSessionEnding.
|
void |
addStartup(StartupEventHandler handler)
Invokes the .NET member addStartup.
|
static Application |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Application, a cast assert is made to check if types are compatible. |
NetObject |
FindResource(NetObject resourceKey)
Invokes the .NET member FindResource.
|
static StreamResourceInfo |
GetContentStream(Uri uriContent)
Invokes the .NET member GetContentStream.
|
static java.lang.String |
GetCookie(Uri uri)
Invokes the .NET member GetCookie.
|
static Application |
getCurrent()
Gets the value of the .NET property Current.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
Window |
getMainWindow()
Gets the value of the .NET property MainWindow.
|
IDictionary |
getProperties()
Gets the value of the .NET property Properties.
|
static StreamResourceInfo |
GetRemoteStream(Uri uriRemote)
Invokes the .NET member GetRemoteStream.
|
static Assembly |
getResourceAssembly()
Gets the value of the .NET property ResourceAssembly.
|
ResourceDictionary |
getResources()
Gets the value of the .NET property Resources.
|
static StreamResourceInfo |
GetResourceStream(Uri uriResource)
Invokes the .NET member GetResourceStream.
|
ShutdownMode |
getShutdownMode()
Gets the value of the .NET property ShutdownMode.
|
Uri |
getStartupUri()
Gets the value of the .NET property StartupUri.
|
ThemeMode |
getThemeMode()
Gets the value of the .NET property ThemeMode.
|
WindowCollection |
getWindows()
Gets the value of the .NET property Windows.
|
static void |
LoadComponent(NetObject component,
Uri resourceLocator)
Invokes the .NET member LoadComponent.
|
static NetObject |
LoadComponent(Uri resourceLocator)
Invokes the .NET member LoadComponent.
|
void |
removeActivated(EventHandler handler)
Invokes the .NET member removeActivated.
|
void |
removeDeactivated(EventHandler handler)
Invokes the .NET member removeDeactivated.
|
void |
removeDispatcherUnhandledException(DispatcherUnhandledExceptionEventHandler handler)
Invokes the .NET member removeDispatcherUnhandledException.
|
void |
removeExit(ExitEventHandler handler)
Invokes the .NET member removeExit.
|
void |
removeFragmentNavigation(FragmentNavigationEventHandler handler)
Invokes the .NET member removeFragmentNavigation.
|
void |
removeLoadCompleted(LoadCompletedEventHandler handler)
Invokes the .NET member removeLoadCompleted.
|
void |
removeNavigated(NavigatedEventHandler handler)
Invokes the .NET member removeNavigated.
|
void |
removeNavigating(NavigatingCancelEventHandler handler)
Invokes the .NET member removeNavigating.
|
void |
removeNavigationFailed(NavigationFailedEventHandler handler)
Invokes the .NET member removeNavigationFailed.
|
void |
removeNavigationProgress(NavigationProgressEventHandler handler)
Invokes the .NET member removeNavigationProgress.
|
void |
removeNavigationStopped(NavigationStoppedEventHandler handler)
Invokes the .NET member removeNavigationStopped.
|
void |
removeSessionEnding(SessionEndingCancelEventHandler handler)
Invokes the .NET member removeSessionEnding.
|
void |
removeStartup(StartupEventHandler handler)
Invokes the .NET member removeStartup.
|
int |
Run()
Invokes the .NET member Run.
|
int |
Run(Window window)
Invokes the .NET member Run.
|
static void |
SetCookie(Uri uri,
java.lang.String value)
Invokes the .NET member SetCookie.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMainWindow(Window MainWindow)
Sets the value of the .NET property MainWindow.
|
static void |
setResourceAssembly(Assembly ResourceAssembly)
Sets the value of the .NET property ResourceAssembly.
|
void |
setResources(ResourceDictionary Resources)
Sets the value of the .NET property Resources.
|
void |
setShutdownMode(ShutdownMode ShutdownMode)
Sets the value of the .NET property ShutdownMode.
|
void |
setStartupUri(Uri StartupUri)
Sets the value of the .NET property StartupUri.
|
void |
setThemeMode(ThemeMode ThemeMode)
Sets the value of the .NET property ThemeMode.
|
void |
Shutdown()
Invokes the .NET member Shutdown.
|
void |
Shutdown(int exitCode)
Invokes the .NET member Shutdown.
|
NetObject |
TryFindResource(NetObject resourceKey)
Invokes the .NET member TryFindResource.
|
CheckAccess, getDispatcher, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Application()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidEnumArgumentException,
Win32Exception,
TimeoutException,
NullReferenceException,
CultureNotFoundException,
UriFormatException,
UnreachableException,
OutOfMemoryException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
FormatException,
AmbiguousMatchException,
XamlException,
NotImplementedException,
XamlParseException,
MulticastNotSupportedException,
SystemException,
WebException
java.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itTimeoutException - if the .NET member raises itNullReferenceException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUriFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itFormatException - if the .NET member raises itAmbiguousMatchException - if the .NET member raises itXamlException - if the .NET member raises itNotImplementedException - if the .NET member raises itXamlParseException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itSystemException - if the .NET member raises itWebException - if the .NET member raises itpublic Application(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addActivated(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addDeactivated(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addDispatcherUnhandledException(DispatcherUnhandledExceptionEventHandler handler) throws java.lang.Throwable
handler - the argument of type DispatcherUnhandledExceptionEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addExit(ExitEventHandler handler) throws java.lang.Throwable
handler - the argument of type ExitEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addFragmentNavigation(FragmentNavigationEventHandler handler) throws java.lang.Throwable
handler - the argument of type FragmentNavigationEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addLoadCompleted(LoadCompletedEventHandler handler) throws java.lang.Throwable
handler - the argument of type LoadCompletedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addNavigated(NavigatedEventHandler handler) throws java.lang.Throwable
handler - the argument of type NavigatedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addNavigating(NavigatingCancelEventHandler handler) throws java.lang.Throwable
handler - the argument of type NavigatingCancelEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addNavigationFailed(NavigationFailedEventHandler handler) throws java.lang.Throwable
handler - the argument of type NavigationFailedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addNavigationProgress(NavigationProgressEventHandler handler) throws java.lang.Throwable
handler - the argument of type NavigationProgressEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addNavigationStopped(NavigationStoppedEventHandler handler) throws java.lang.Throwable
handler - the argument of type NavigationStoppedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addSessionEnding(SessionEndingCancelEventHandler handler) throws java.lang.Throwable
handler - the argument of type SessionEndingCancelEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addStartup(StartupEventHandler handler) throws java.lang.Throwable
handler - the argument of type StartupEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Application cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Application, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedApplication instancejava.lang.Throwable - in case of error during cast operationpublic NetObject FindResource(NetObject resourceKey) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, XamlParseException, KeyNotFoundException, XamlException, NotImplementedException, XamlParseException, MulticastNotSupportedException, NullReferenceException, Win32Exception, InvalidEnumArgumentException, TimeoutException, FileFormatException, WebException, InvalidCastException, OverflowException, FileLoadException, CultureNotFoundException, AmbiguousMatchException, SecurityException, ResourceReferenceKeyNotFoundException
resourceKey - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itXamlParseException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itXamlException - if the .NET member raises itNotImplementedException - if the .NET member raises itXamlParseException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itTimeoutException - if the .NET member raises itFileFormatException - if the .NET member raises itWebException - if the .NET member raises itInvalidCastException - if the .NET member raises itOverflowException - if the .NET member raises itFileLoadException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itAmbiguousMatchException - if the .NET member raises itSecurityException - if the .NET member raises itResourceReferenceKeyNotFoundException - if the .NET member raises itpublic static StreamResourceInfo GetContentStream(Uri uriContent) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, UriFormatException, SecurityException, IOException, UnauthorizedAccessException
uriContent - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itUriFormatException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic static java.lang.String GetCookie(Uri uri) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, UnreachableException, PlatformNotSupportedException, OutOfMemoryException, UriFormatException, FormatException, Win32Exception
uri - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itUnreachableException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUriFormatException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic static Application getCurrent() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DispatcherObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DispatcherObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DispatcherObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DispatcherObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class DispatcherObjectpublic Window getMainWindow() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic IDictionary getProperties() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static StreamResourceInfo GetRemoteStream(Uri uriRemote) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, UriFormatException, CultureNotFoundException, OverflowException, SecurityException, IOException, UnauthorizedAccessException
uriRemote - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itUriFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOverflowException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic static Assembly getResourceAssembly() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ResourceDictionary getResources() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, SecurityException, IOException, MulticastNotSupportedException, NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic static StreamResourceInfo GetResourceStream(Uri uriResource) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, UriFormatException, SecurityException, IOException, UnauthorizedAccessException
uriResource - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itUriFormatException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic ShutdownMode getShutdownMode() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic Uri getStartupUri() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ThemeMode getThemeMode() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic WindowCollection getWindows() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic static void LoadComponent(NetObject component, Uri resourceLocator) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, UnreachableException, OutOfMemoryException, UriFormatException, CultureNotFoundException, SecurityException, IOException, UnauthorizedAccessException, OverflowException, FileLoadException, InvalidCastException, MissingMemberException, AmbiguousMatchException, NotImplementedException, XamlException, XamlParseException
component - the argument of type NetObjectresourceLocator - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUriFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itOverflowException - if the .NET member raises itFileLoadException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMemberException - if the .NET member raises itAmbiguousMatchException - if the .NET member raises itNotImplementedException - if the .NET member raises itXamlException - if the .NET member raises itXamlParseException - if the .NET member raises itpublic static NetObject LoadComponent(Uri resourceLocator) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, CultureNotFoundException, UriFormatException, OutOfMemoryException, UnreachableException, SecurityException, IOException, UnauthorizedAccessException, InvalidCastException, AmbiguousMatchException, XamlException, NotImplementedException, XamlParseException, XmlException
resourceLocator - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itInvalidCastException - if the .NET member raises itAmbiguousMatchException - if the .NET member raises itXamlException - if the .NET member raises itNotImplementedException - if the .NET member raises itXamlParseException - if the .NET member raises itXmlException - if the .NET member raises itpublic void removeActivated(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeDeactivated(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeDispatcherUnhandledException(DispatcherUnhandledExceptionEventHandler handler) throws java.lang.Throwable
handler - the argument of type DispatcherUnhandledExceptionEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeExit(ExitEventHandler handler) throws java.lang.Throwable
handler - the argument of type ExitEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeFragmentNavigation(FragmentNavigationEventHandler handler) throws java.lang.Throwable
handler - the argument of type FragmentNavigationEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeLoadCompleted(LoadCompletedEventHandler handler) throws java.lang.Throwable
handler - the argument of type LoadCompletedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeNavigated(NavigatedEventHandler handler) throws java.lang.Throwable
handler - the argument of type NavigatedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeNavigating(NavigatingCancelEventHandler handler) throws java.lang.Throwable
handler - the argument of type NavigatingCancelEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeNavigationFailed(NavigationFailedEventHandler handler) throws java.lang.Throwable
handler - the argument of type NavigationFailedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeNavigationProgress(NavigationProgressEventHandler handler) throws java.lang.Throwable
handler - the argument of type NavigationProgressEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeNavigationStopped(NavigationStoppedEventHandler handler) throws java.lang.Throwable
handler - the argument of type NavigationStoppedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeSessionEnding(SessionEndingCancelEventHandler handler) throws java.lang.Throwable
handler - the argument of type SessionEndingCancelEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeStartup(StartupEventHandler handler) throws java.lang.Throwable
handler - the argument of type StartupEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int Run()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidCastException,
InvalidOperationException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
RankException,
ArrayTypeMismatchException,
Win32Exception,
NullReferenceException,
TimeoutException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itWin32Exception - if the .NET member raises itNullReferenceException - if the .NET member raises itTimeoutException - if the .NET member raises itpublic int Run(Window window) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, InvalidCastException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, NullReferenceException
window - the argument of type Windowjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidCastException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic static void SetCookie(Uri uri, java.lang.String value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, UriFormatException, PlatformNotSupportedException, Win32Exception
uri - the argument of type Urivalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itUriFormatException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class DispatcherObjectinstance - the new underlying objectpublic void setMainWindow(Window MainWindow) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
MainWindow - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static void setResourceAssembly(Assembly ResourceAssembly) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
ResourceAssembly - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setResources(ResourceDictionary Resources) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, ExternalException, SecurityException, IOException, UnauthorizedAccessException, InvalidEnumArgumentException, NullReferenceException
Resources - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic void setShutdownMode(ShutdownMode ShutdownMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, InvalidEnumArgumentException
ShutdownMode - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setStartupUri(Uri StartupUri) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
StartupUri - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setThemeMode(ThemeMode ThemeMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArrayTypeMismatchException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, MulticastNotSupportedException, UriFormatException, SecurityException, IOException, UnauthorizedAccessException, Win32Exception, UnreachableException, FileFormatException, WebException, CookieException
ThemeMode - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itUriFormatException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itWin32Exception - if the .NET member raises itUnreachableException - if the .NET member raises itFileFormatException - if the .NET member raises itWebException - if the .NET member raises itCookieException - if the .NET member raises itpublic void Shutdown()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
NullReferenceException,
CultureNotFoundException,
EventSourceException,
Win32Exception,
TimeoutException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itEventSourceException - if the .NET member raises itWin32Exception - if the .NET member raises itTimeoutException - if the .NET member raises itpublic void Shutdown(int exitCode)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
NotSupportedException,
RankException,
FormatException,
EventSourceException,
NullReferenceException,
Win32Exception,
InvalidEnumArgumentException,
TimeoutException
exitCode - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itNullReferenceException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itTimeoutException - if the .NET member raises itpublic NetObject TryFindResource(NetObject resourceKey) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, XamlParseException, KeyNotFoundException, XamlException, NotImplementedException, XamlParseException, MulticastNotSupportedException, NullReferenceException, Win32Exception, InvalidEnumArgumentException, TimeoutException, FileFormatException, WebException, InvalidCastException, OverflowException, FileLoadException, CultureNotFoundException, AmbiguousMatchException, SecurityException
resourceKey - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itXamlParseException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itXamlException - if the .NET member raises itNotImplementedException - if the .NET member raises itXamlParseException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itTimeoutException - if the .NET member raises itFileFormatException - if the .NET member raises itWebException - if the .NET member raises itInvalidCastException - if the .NET member raises itOverflowException - if the .NET member raises itFileLoadException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itAmbiguousMatchException - if the .NET member raises itSecurityException - if the .NET member raises it