System.Windows.Application.get_resource_cb_safe C# (CSharp) Method

get_resource_cb_safe() static private method

static private get_resource_cb_safe ( string resourceBase, string name ) : ManagedStreamCallbacks
resourceBase string
name string
return ManagedStreamCallbacks
		internal static ManagedStreamCallbacks get_resource_cb_safe (string resourceBase, string name)
		{
			try {
				return get_resource_cb (resourceBase, name);
			} catch (Exception ex) {
				try {
					Console.WriteLine ("Moonlight: Unhandled exception in Application.get_resource_cb: {0}", ex);
				} catch {
				}
			}
			return new ManagedStreamCallbacks ();
		}